updates
This commit is contained in:
+19
@@ -0,0 +1,19 @@
|
||||
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
|
||||
Reference in New Issue
Block a user