Compare commits
2 commits
dc83fe5646
...
d01eae92d5
Author | SHA1 | Date | |
---|---|---|---|
d01eae92d5 | |||
97c1cbe74d |
4 changed files with 3419 additions and 1796 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -2,4 +2,5 @@ node_modules/
|
||||||
dist/
|
dist/
|
||||||
service-worker.build.js
|
service-worker.build.js
|
||||||
.env
|
.env
|
||||||
static/images/mockups
|
static/images/mockups
|
||||||
|
.yarn/
|
1
frontend/.yarnrc.yml
Normal file
1
frontend/.yarnrc.yml
Normal file
|
@ -0,0 +1 @@
|
||||||
|
nodeLinker: node-modules
|
|
@ -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
|
||||||
|
|
5201
frontend/yarn.lock
5201
frontend/yarn.lock
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue