1
1
mirror of https://github.com/theoludwig/theoludwig.git synced 2024-12-08 00:44:30 +01:00
.profile/Dockerfile
2021-06-04 09:25:00 +02:00

12 lines
255 B
Docker

FROM node:16.3.0
WORKDIR /usr/src/app
RUN chown --recursive node:node /usr/src/app
COPY --chown=node:node ./package*.json ./
RUN npm install
COPY --chown=node:node ./ ./
USER node
RUN npm run build
CMD ["npm", "run", "start", "--", "--port", "${PORT}"]