bug: cleanup docker build

This commit is contained in:
Kieran 2023-02-16 22:57:25 +00:00
parent b11ab51ba8
commit 03285a24cb
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941
2 changed files with 10 additions and 4 deletions

View File

@ -1,7 +1,8 @@
node_modules/
**/node_modules/
.github/
.vscode/
build/
**/build/
yarn-error.log
.husky/
.git/
.git/
**/dist/

View File

@ -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