mirror of
https://github.com/theoludwig/theoludwig.git
synced 2024-11-09 22:09:07 +01:00
12 lines
255 B
Docker
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}"]
|