forked from bro-students/multy-stub
15 lines
297 B
Docker
15 lines
297 B
Docker
FROM 'node:18'
|
|
|
|
RUN mkdir -p /usr/src/app/server/
|
|
WORKDIR /usr/src/app/
|
|
|
|
COPY ./server /usr/src/app/server
|
|
COPY ./package.json /usr/src/app/package.json
|
|
COPY ./.serverrc.js /usr/src/app/.serverrc.js
|
|
# COPY ./.env /usr/src/app/.env
|
|
|
|
RUN npm i --only=prod
|
|
EXPOSE 8044
|
|
|
|
CMD ["npm", "run", "up:prod"]
|