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:
15
Dockerfile
15
Dockerfile
@ -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}"]
|
||||
|
Reference in New Issue
Block a user