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
#COPY package.json /usr/src/app/
COPY docker/entrypoint.sh /
COPY ./entrypoint.sh /
#RUN npm install --registry=https://registry.npm.taobao.org

View File

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

View File

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