aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/Dockerfile')
-rw-r--r--frontend/Dockerfile14
1 files changed, 3 insertions, 11 deletions
diff --git a/frontend/Dockerfile b/frontend/Dockerfile
index 69aa4dc..7e2e616 100644
--- a/frontend/Dockerfile
+++ b/frontend/Dockerfile
@@ -14,17 +14,9 @@ ENV ALBATROSS_BASE_PATH="$ALBATROSS_BASE_PATH"
RUN npm run build
################################################################################
-FROM node:22.14
+FROM nginx:1.27-alpine
-WORKDIR /app
-ENV NODE_ENV=production
-
-COPY package.json package-lock.json .
-RUN npm install --omit=dev
-
-COPY --from=builder /app/build ./build
+COPY --from=builder /app/dist /usr/share/nginx/html
+COPY nginx.conf /etc/nginx/conf.d/default.conf
-ENV HOST="$ALBATROSS_HOST"
-ENV PORT=80
EXPOSE 80
-CMD ["npm", "run", "start"]