1
1
mirror of https://github.com/theoludwig/theoludwig.git synced 2025-05-29 22:37:44 +02:00

feat: add light mode + rewrite in Tailwind CSS (#15)

This commit is contained in:
Divlo
2021-05-08 19:52:04 +02:00
committed by GitHub
parent 26f24329c7
commit c62e66a86a
83 changed files with 5803 additions and 7623 deletions

View File

@ -1,10 +1,11 @@
FROM node:14.16.1
RUN npm install --global npm@7
FROM node:16.1.0
WORKDIR /app
COPY ./package*.json ./
WORKDIR /usr/src/app
RUN chown --recursive node:node /usr/src/app
COPY --chown=node:node ./package*.json ./
RUN npm install
COPY ./ ./
COPY --chown=node:node ./ ./
CMD ["npm", "run", "dev", "--", "--port", "${PORT}"]
USER node
RUN npm run build
CMD ["npm", "run", "start", "--", "--port", "${PORT}"]