Compare commits

..

2 commits

4 changed files with 3419 additions and 1796 deletions

1
.gitignore vendored
View file

@ -3,3 +3,4 @@ dist/
service-worker.build.js service-worker.build.js
.env .env
static/images/mockups static/images/mockups
.yarn/

1
frontend/.yarnrc.yml Normal file
View file

@ -0,0 +1 @@
nodeLinker: node-modules

View file

@ -1,18 +1,20 @@
FROM node:18 AS build FROM git.webdeploy.it/webdeploy/yarn AS build
WORKDIR /usr WORKDIR /usr
COPY .yarnrc.yml ./
COPY package.json ./ COPY package.json ./
COPY yarn.lock ./ COPY yarn.lock ./
RUN yarn install --frozen-lockfile RUN yarn install --immutable
COPY . ./ COPY . ./
RUN yarn build RUN yarn build
FROM node:18-alpine3.16 FROM git.webdeploy.it/webdeploy/yarn
WORKDIR /app WORKDIR /app
COPY .yarnrc.yml ./
COPY package.json ./ COPY package.json ./
COPY yarn.lock ./ COPY yarn.lock ./
RUN yarn install --frozen-lockfile RUN yarn install --immutable
COPY --from=build /usr/build /app COPY --from=build /usr/build /app
EXPOSE 8000 EXPOSE 8000

File diff suppressed because it is too large Load diff