update docker file
This commit is contained in:
parent
f835841ee2
commit
1b6d587c30
|
@ -5,5 +5,5 @@ COPY package*.json ./
|
||||||
USER node
|
USER node
|
||||||
RUN npm install
|
RUN npm install
|
||||||
COPY --chown=node:node . .
|
COPY --chown=node:node . .
|
||||||
EXPOSE 3000
|
EXPOSE 7000
|
||||||
CMD [ "node", "index.js" ]
|
CMD [ "node", "index.js" ]
|
||||||
|
|
|
@ -5,7 +5,7 @@ services:
|
||||||
container_name: photospherestudio
|
container_name: photospherestudio
|
||||||
hostname: photospherestudio
|
hostname: photospherestudio
|
||||||
ports:
|
ports:
|
||||||
- '3000:3000'
|
- '7000:7000'
|
||||||
volumes:
|
volumes:
|
||||||
- ./config.json:/home/node/app/config.json
|
- ./config.json:/home/node/app/config.json
|
||||||
restart: 'on-failure'
|
restart: 'on-failure'
|
||||||
|
|
Loading…
Reference in New Issue