DweebUI/Dockerfile
lllllllillllllillll 05e009b821
revert dependabot change
Had to update and test each dependency. 
Updating connect-redis to 7.1.0 breaks app.
Removed comments from Dockerfile
2023-11-22 17:13:56 -08:00

21 lines
No EOL
344 B
Docker

# syntax=docker/dockerfile:1
FROM node:21-alpine
ENV NODE_ENV production
WORKDIR /app
RUN --mount=type=bind,source=package.json,target=package.json \
--mount=type=bind,source=package-lock.json,target=package-lock.json \
--mount=type=cache,target=/root/.npm \
npm ci --omit=dev
USER root
COPY . .
EXPOSE 8000
CMD node app.js