From c83f2df6ae2d33f60108e7b8e0f9a4200db21b70 Mon Sep 17 00:00:00 2001 From: Phil Darnowsky Date: Thu, 21 Mar 2024 11:48:36 -0400 Subject: [PATCH] WIP always forgetting about the dockerignore file --- deploy/dockerfiles/browser/api.dockerfile | 2 +- deploy/dockerfiles/browser/api.dockerfile.dockerignore | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/deploy/dockerfiles/browser/api.dockerfile b/deploy/dockerfiles/browser/api.dockerfile index 3dbc71b14..5a0ee2d8e 100644 --- a/deploy/dockerfiles/browser/api.dockerfile +++ b/deploy/dockerfiles/browser/api.dockerfile @@ -26,6 +26,6 @@ COPY --chown=node:node tsconfig.build.json /app/graphql-api/tsconfig.build.json RUN pnpm tsc -p /app/graphql-api/tsconfig.build.json # Copy static data into place -COPY --chown=node:node static_data/ /app/static_data/ +COPY --chown=node:node graphql-api/static_data /app/static_data CMD ["node", "graphql-api/src/app.js"] diff --git a/deploy/dockerfiles/browser/api.dockerfile.dockerignore b/deploy/dockerfiles/browser/api.dockerfile.dockerignore index a3de25893..779200d8f 100644 --- a/deploy/dockerfiles/browser/api.dockerfile.dockerignore +++ b/deploy/dockerfiles/browser/api.dockerfile.dockerignore @@ -7,3 +7,4 @@ !pnpm-lock.yaml !pnpm-workspace-api-docker.yaml !package.json +!graphql-api/static_data