Skip to content

Commit

Permalink
⚡ wip: bootstrap api server
Browse files Browse the repository at this point in the history
  • Loading branch information
zcubbs committed Dec 22, 2023
1 parent c36253f commit f1134f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/Dockerfile.web
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# Build stage
FROM node:18-alpine3.14 AS build-stage
FROM node:lts-alpine AS build-stage
WORKDIR /app
COPY web/start/package*.json ./
RUN npm install
COPY web/start/ .
RUN npm run build

# Production stage
FROM nginx@sha256:2d32417c7e19818c490ba14ea9f41484cf500456b7f28f796d1698a3a2d0c3aa
FROM nginx:stable-alpine
COPY --from=build-stage /app/build /usr/share/nginx/html
COPY build/nginx.conf /etc/nginx/nginx.conf
EXPOSE 80
Expand Down

0 comments on commit f1134f5

Please sign in to comment.