Prvotní nástřel fungující aplikace

This commit is contained in:
Martin Berka committed 2023-06-01 23:05:51 +02:00
1 parent bf379e13ed
commit 12583e6efb
59 files changed
+2194 -1011

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
FROM node:alpine AS builder
COPY package.json .
COPY yarn.lock .
COPY tsconfig.json .
COPY .env.production .
RUN yarn install
COPY ./src ./src
COPY ./public ./public
RUN yarn build
FROM node:alpine
ENV NODE_ENV production
WORKDIR /app
COPY --from=builder /build .
RUN yarn global add serve && yarn
CMD ["serve", "-s", "."]