bug: cleanup docker build
This commit is contained in:
parent
b11ab51ba8
commit
03285a24cb
@ -1,7 +1,8 @@
|
|||||||
node_modules/
|
**/node_modules/
|
||||||
.github/
|
.github/
|
||||||
.vscode/
|
.vscode/
|
||||||
build/
|
**/build/
|
||||||
yarn-error.log
|
yarn-error.log
|
||||||
.husky/
|
.husky/
|
||||||
.git/
|
.git/
|
||||||
|
**/dist/
|
@ -1,7 +1,12 @@
|
|||||||
FROM node:16 as build
|
FROM node:16 as build
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . .
|
|
||||||
|
COPY package.json yarn.lock .
|
||||||
|
COPY packages/app/package.json packages/app/
|
||||||
|
COPY packages/nostr/package.json packages/nostr/
|
||||||
RUN yarn install --network-timeout 1000000
|
RUN yarn install --network-timeout 1000000
|
||||||
|
|
||||||
|
COPY . .
|
||||||
RUN yarn build
|
RUN yarn build
|
||||||
|
|
||||||
FROM nginx:mainline-alpine
|
FROM nginx:mainline-alpine
|
||||||
|
Loading…
x
Reference in New Issue
Block a user