Delightful UI updates

This commit is contained in:
oitsjustjose 2022-04-15 19:23:27 -05:00
commit 3bcc854ba1
19 changed files with 576 additions and 88 deletions

21
frontend/Dockerfile Normal file
View 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"]