fix docker builds (now with frontend!)

master
Lauren Liberda 2021-07-29 02:25:33 +02:00
parent 25401575e1
commit 8f181bdc94
3 changed files with 7 additions and 3 deletions

View File

@ -1,5 +1,5 @@
node_modules
dist
frontend
frontend/src/generated
.env
schema.graphql

View File

@ -8,7 +8,11 @@ RUN yarn install --frozen-lockfile
COPY tsconfig.json .
COPY tsconfig.build.json .
COPY webpack.config.js .
COPY gql-codegen.yml .
COPY scripts scripts
COPY migration migration
COPY frontend frontend
COPY src src
RUN yarn build

View File

@ -39,9 +39,11 @@
"@nestjs/core": "^7.6.15",
"@nestjs/graphql": "^7.11.0",
"@nestjs/platform-fastify": "^7.6.18",
"@nestjs/serve-static": "^2.2.2",
"@nestjs/typeorm": "^7.1.5",
"apollo-server-fastify": "^2.25.2",
"dotenv": "^10.0.0",
"fastify-static": "^4.2.2",
"graphql": "^15.5.1",
"graphql-tools": "^7.0.5",
"pg": "^8.6.0",
@ -57,7 +59,6 @@
"@graphql-codegen/typescript": "1.23.0",
"@nestjs/cli": "^7.6.0",
"@nestjs/schematics": "^7.3.0",
"@nestjs/serve-static": "^2.2.2",
"@nestjs/testing": "^7.6.15",
"@types/dotenv": "^8.2.0",
"@types/jest": "^26.0.22",
@ -71,7 +72,6 @@
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-prettier": "^3.3.1",
"extract-text-webpack-plugin": "^4.0.0-beta.0",
"fastify-static": "^4.2.2",
"graphql": "^15.5.1",
"handlebars": "^4.7.7",
"handlebars-loader": "^1.7.1",