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"]