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
Raw Normal View History

FROM node:16.2.0
2021-04-18 01:56:23 +02:00
WORKDIR /usr/src/app
RUN chown --recursive node:node /usr/src/app
COPY --chown=node:node ./package*.json ./
2021-04-18 01:56:23 +02:00
RUN npm install
COPY --chown=node:node ./ ./
2021-04-18 01:56:23 +02:00
USER node
RUN npm run build
CMD ["npm", "run", "start", "--", "--port", "${PORT}"]