bug: cleanup docker build
This commit is contained in:
parent
b11ab51ba8
commit
03285a24cb
@ -1,7 +1,8 @@
|
||||
node_modules/
|
||||
**/node_modules/
|
||||
.github/
|
||||
.vscode/
|
||||
build/
|
||||
**/build/
|
||||
yarn-error.log
|
||||
.husky/
|
||||
.git/
|
||||
**/dist/
|
@ -1,7 +1,12 @@
|
||||
FROM node:16 as build
|
||||
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
|
||||
|
||||
COPY . .
|
||||
RUN yarn build
|
||||
|
||||
FROM nginx:mainline-alpine
|
||||
|
Loading…
x
Reference in New Issue
Block a user