Initial commit from ZIP
This commit is contained in:
commit
378d4692a9
454 files changed
+40367
No files matched your search
Executable
+17
@@ -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", "."]
|
||||
Reference in new issue
Block a user