Delightful UI updates
This commit is contained in:
parent
76cbd10a6f
commit
3bcc854ba1
19 changed files with 576 additions and 88 deletions
21
frontend/Dockerfile
Normal file
21
frontend/Dockerfile
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
FROM node:14-alpine AS builder
|
||||
|
||||
WORKDIR /app
|
||||
COPY package*.json ./
|
||||
RUN npm install --production
|
||||
|
||||
COPY . .
|
||||
RUN npm run build
|
||||
FROM node:14-alpine AS server
|
||||
|
||||
ENV NODE_ENV=production
|
||||
RUN npm install -g serve
|
||||
|
||||
WORKDIR /app
|
||||
COPY package*.json ./
|
||||
COPY --from=builder /app/build ./build
|
||||
|
||||
ENV PORT=3000
|
||||
EXPOSE 3000
|
||||
USER node
|
||||
CMD ["serve", "-s", "build"]
|
||||
Loading…
Reference in a new issue