1
1
mirror of https://github.com/theoludwig/theoludwig.git synced 2024-11-05 04:51:30 +01:00
.profile/Dockerfile

12 lines
255 B
Docker

FROM node:16.1.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}"]