From d935c6e155ef4b8b9c50644e02c55cad5028f9b7 Mon Sep 17 00:00:00 2001 From: Siddhartha Basu Date: Mon, 12 Feb 2024 14:00:40 -0600 Subject: [PATCH] chore(Dockerfile): remove Dockerfile from dicty-frontpage app The Dockerfile for the dicty-frontpage app was removed as it is no longer needed. The app is now built and deployed using a different method, making the Dockerfile redundant. This change simplifies the project structure and reduces unnecessary complexity. --- apps/dicty-frontpage/Dockerfile | 38 --------------------------------- 1 file changed, 38 deletions(-) delete mode 100644 apps/dicty-frontpage/Dockerfile diff --git a/apps/dicty-frontpage/Dockerfile b/apps/dicty-frontpage/Dockerfile deleted file mode 100644 index d963f4e00f..0000000000 --- a/apps/dicty-frontpage/Dockerfile +++ /dev/null @@ -1,38 +0,0 @@ -FROM dictybase/frontend-builder:14.16.1 - -ARG graphql_server -ENV REACT_APP_GRAPHQL_SERVER ${graphql_server} - -ARG ga_tracking_id -ENV REACT_APP_GA_TRACKING_ID ${ga_tracking_id} - -ARG client_keys -ENV CLIENT_KEYS ${client_keys} - -ARG deploy_env -ENV DEPLOY_ENV ${deploy_env} - -ARG alt_graphql_server -ENV REACT_APP_ALT_GRAPHQL_SERVER ${alt_graphql_server:-https://betagraphql.dictycr.org} - -RUN mkdir -p /usr/src/app -WORKDIR /usr/src/app - -COPY package.json ./ -COPY tsconfig.json ./ -COPY yarn.lock ./ -COPY .snyk ./ - -RUN yarn install - -ADD src src -ADD public public -ADD $CLIENT_KEYS /usr/src/app/src/common/utils/clientConfig.js - -RUN yarn build - -FROM dictybase/static-server:2.2.1 -RUN mkdir /www -WORKDIR /www -COPY --from=0 /usr/src/app/build ./ -ENTRYPOINT ["/usr/local/bin/app", "run", "-f", "/www"]