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 ADD . /app
WORKDIR /app WORKDIR /app
RUN apt-get update && apt-get upgrade RUN apt-get update && apt-get upgrade -y
RUN npm install RUN npm install
EXPOSE 3000 EXPOSE 3000
ENTRYPOINT ["node"] CMD node app.js
CMD ["app.js"]

1
docker-compose.yml

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

Loading…
Cancel
Save