refactor: create structure for backend

This commit is contained in:
morbalint committed 2023-10-26 12:05:16 +02:00
1 parent 42d3cb5b65
commit 7eeef67b29
81 files changed
+491 -48

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
FROM node as builder
WORKDIR "/src"
COPY ["package.json", "yarn.lock", "./"]
RUN yarn install --frozen-lockfile
COPY . .
RUN ./compile-less.sh
RUN yarn build
FROM nginx as proxy
# COPY ./nginx/nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=builder "/src/build" "/usr/share/nginx/html"