Files
drake 970c01dd11
Build and Deploy / build_docker_image (push) Failing after 43s
Build and Deploy / deploy (push) Failing after 10s
updates
2026-06-23 09:08:12 -05:00

20 lines
316 B
Docker

FROM node:26 as builder
RUN apt update && apt upgrade -y
# Make an /app dir, which everything will eventually live in
RUN mkdir -p /app
WORKDIR /app
COPY . .
RUN npm ci
RUN npm run build
FROM node:26 as runner
# Copy build to runner
COPY --from=builder /app/build/* /app/
EXPOSE 8080
ENTRYPOINT exec node /app