seg-app / web /Dockerfile
mahmed10's picture
Upload 21 files
32ddd9d verified
raw
history blame contribute delete
288 Bytes
FROM node:20-alpine
WORKDIR /app
# copy manifests only first (better layer caching)
COPY package.json ./
# If you DO have a lock file in future, you can switch back to `npm ci`
RUN npm install
# now copy the rest and build
COPY . /app
RUN npm run build
EXPOSE 3000
CMD ["npm","start"]