Moved config and user customizable assets to public

This commit is contained in:
Alicia Sykes
2021-04-17 18:42:38 +01:00
parent f0106ea4b2
commit 786e45ef23
1929 changed files with 216 additions and 82 deletions

24
Dockerfile Normal file
View File

@@ -0,0 +1,24 @@
# Build Stage
FROM node:lts-alpine as build-stage
LABEL Maintainer Alicia Sykes <alicia@omg.lol>
RUN apk update
WORKDIR /app
COPY package.json ./
COPY yarn.lock ./
RUN yarn install
COPY . .
RUN yarn build
# Production Stage
FROM nginx:1.15.7-alpine as production-stage
COPY --from=build-stage /app/dist /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]