update context

This commit is contained in:
medcl 2020-04-20 14:14:26 +08:00
parent 1af2674033
commit 5f53d45b27
3 changed files with 5 additions and 5 deletions

View File

@ -18,7 +18,7 @@ RUN \
WORKDIR /usr/src/app WORKDIR /usr/src/app
#COPY package.json /usr/src/app/ #COPY package.json /usr/src/app/
COPY docker/entrypoint.sh / COPY ./entrypoint.sh /
#RUN npm install --registry=https://registry.npm.taobao.org #RUN npm install --registry=https://registry.npm.taobao.org

View File

@ -7,8 +7,8 @@ services:
# option 2: build image locally # option 2: build image locally
# build: # build:
# context: ../ # context: ./
# dockerfile: docker/Dockerfile # dockerfile: ./Dockerfile
container_name: "infini-nodejs-build" container_name: "infini-nodejs-build"
volumes: volumes:

View File

@ -7,8 +7,8 @@ services:
# # option 2: build image locally # # option 2: build image locally
# build: # build:
# context: ../ # context: ./
# dockerfile: docker/Dockerfile # dockerfile: ./Dockerfile
ports: ports:
- 3000:3000 - 3000:3000