update context
This commit is contained in:
parent
1af2674033
commit
5f53d45b27
|
@ -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
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue