update dockerfiles and compose prod

This commit is contained in:
kusz committed 2024-11-28 10:47:56 +01:00
1 parent b7cb8e026e
commit 86ec2ab34c
7 files changed
+141 -62

No files matched your search

+2 -2
View File
@@ -1,4 +1,4 @@
FROM node:erbium AS builder
FROM node:14 AS builder
ARG outbo_env
ARG backend_url
WORKDIR /app
@@ -10,7 +10,7 @@ ENV REACT_APP_OUTBO_ENV=${outbo_env}
ENV REACT_APP_BACKEND_URL=${backend_url}
RUN yarn run build
FROM node:erbium
FROM node:14
RUN yarn global add serve
WORKDIR /app
COPY --from=builder /app/build .