mirror of
https://github.com/aurora-dot/pastel.codes.git
synced 2024-11-22 08:12:19 +00:00
14 lines
246 B
Docker
14 lines
246 B
Docker
FROM node:16-bullseye-slim
|
|
|
|
ENV IS_DOCKER=true
|
|
ENV NODE_ENV=production
|
|
|
|
WORKDIR /app
|
|
COPY ["package.json", "package-lock.json*", "./"]
|
|
RUN npm install --omit=dev
|
|
RUN npm install nodemon
|
|
COPY . .
|
|
RUN npm run build-tailwind
|
|
|
|
CMD [ "npm", "start" ]
|