fix dockerfile

This commit is contained in:
mahek 2025-07-25 17:41:14 +02:00
parent 2d3d5005bf
commit a632eacb0b
2 changed files with 4 additions and 18 deletions

View file

@ -1,15 +1,8 @@
FROM node:16-alpine
FROM node:22-alpine
WORKDIR /app
# Copy package.json and package-lock.json
COPY package*.json ./
# Install dependencies
RUN npm install
# Copy the rest of the application
COPY . .
USER root
# Expose port 8012
EXPOSE 8012