Initial commit from ZIP

This commit is contained in:
kusz committed 2024-11-27 13:18:16 +01:00
commit 378d4692a9
454 files changed
+40367

No files matched your search

Executable
+17
View File
@@ -0,0 +1,17 @@
FROM node:erbium AS builder
ARG outbo_env
ARG backend_url
WORKDIR /app
COPY package.json yarn.lock /app/
RUN yarn
COPY . /app
ENV NODE_ENV production
ENV REACT_APP_OUTBO_ENV=${outbo_env}
ENV REACT_APP_BACKEND_URL=${backend_url}
RUN yarn run build
FROM node:erbium
RUN yarn global add serve
WORKDIR /app
COPY --from=builder /app/build .
CMD ["serve", "-p", "80", "-s", "."]