update context
This commit is contained in:
parent
1af2674033
commit
5f53d45b27
|
@ -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
|
||||
|
|
|
@ -7,8 +7,8 @@ services:
|
|||
|
||||
# option 2: build image locally
|
||||
# build:
|
||||
# context: ../
|
||||
# dockerfile: docker/Dockerfile
|
||||
# context: ./
|
||||
# dockerfile: ./Dockerfile
|
||||
|
||||
container_name: "infini-nodejs-build"
|
||||
volumes:
|
||||
|
|
|
@ -7,8 +7,8 @@ services:
|
|||
|
||||
# # option 2: build image locally
|
||||
# build:
|
||||
# context: ../
|
||||
# dockerfile: docker/Dockerfile
|
||||
# context: ./
|
||||
# dockerfile: ./Dockerfile
|
||||
|
||||
ports:
|
||||
- 3000:3000
|
||||
|
|
Loading…
Reference in New Issue