Browse Source

fix docker

pull/126/head
butlerx 8 years ago
parent
commit
c5777f47f3
  1. 5
      Dockerfile
  2. 1
      docker-compose.yml

5
Dockerfile

@ -3,10 +3,9 @@ MAINTAINER Nathan LeClaire <nathan@docker.com>
ADD . /app
WORKDIR /app
RUN apt-get update && apt-get upgrade
RUN apt-get update && apt-get upgrade -y
RUN npm install
EXPOSE 3000
ENTRYPOINT ["node"]
CMD ["app.js"]
CMD node app.js

1
docker-compose.yml

@ -2,7 +2,6 @@ version: "3"
services:
wetty:
image: node:boron
container_name: wetty
build: .
tty: true

Loading…
Cancel
Save