diff --git a/.dockerignore b/.dockerignore deleted file mode 100644 index 9b9a4059..00000000 --- a/.dockerignore +++ /dev/null @@ -1,5 +0,0 @@ -.git -node_modules -build -.dockerignore -Dockerfile diff --git a/.env.deploy b/.env.deploy deleted file mode 100644 index 6cf63a4b..00000000 --- a/.env.deploy +++ /dev/null @@ -1,5 +0,0 @@ -REACT_APP_ARGO_BASEURL=${ARGO_BASEURL} -REACT_APP_REQUEST_BROKER_BASEURL=${REQUEST_BROKER_BASEURL} -REACT_APP_LOCALSTORAGE_KEY=DIMESMyList -REACT_APP_MINIMAP_KEY=DIMESMinimapIntro -REACT_APP_S3_BASEURL=${AWS_BUCKET_BASEURL} diff --git a/.gitignore b/.gitignore index 87cb4f12..82adf99a 100644 --- a/.gitignore +++ b/.gitignore @@ -11,9 +11,7 @@ # production /build *.production -*.prod public/ -apache/ # misc .DS_Store @@ -26,9 +24,6 @@ npm-debug.log* yarn-debug.log* yarn-error.log* -### Configs ### -*.conf - ### Environments ### *.env env/* diff --git a/Dockerfiles/Dockerfile.apache b/Dockerfiles/Dockerfile.apache deleted file mode 100644 index 8dceaafa..00000000 --- a/Dockerfiles/Dockerfile.apache +++ /dev/null @@ -1,21 +0,0 @@ -FROM httpd:2.4-alpine - -RUN a2dissite 000-default -COPY ./000-dimes.conf /etc/apache2/sites-available/ -RUN a2ensite 000-dimes -RUN a2enmod rewrite - -RUN mkdir -p /var/www/html/dimes -RUN mkdir -p /var/logs -RUN chmod 775 /var/www/html/dimes -RUN chmod 775 /var/logs -RUN chown :www-data /var/www/html/dimes -RUN chown :www-data /var/logs - -WORKDIR /var/www/html - -COPY ./build/ /var/www/html/dimes/ - -EXPOSE 80 3000 - -CMD ["bin/sh", "apache.sh"] diff --git a/Dockerfiles/Dockerfile.nginx b/Dockerfiles/Dockerfile.nginx deleted file mode 100644 index ff025834..00000000 --- a/Dockerfiles/Dockerfile.nginx +++ /dev/null @@ -1,14 +0,0 @@ -FROM node:14.15.0 as build -WORKDIR /app -ENV PATH /app/node_modules/.bin:$PATH -COPY package.json yarn.lock /app/ -RUN npm install -COPY . /app/ -CMD ["npm","start"] - -FROM nginx:1.17.5-alpine -COPY --from=build /app/build /usr/share/nginx/html -RUN rm /etc/nginx/conf.d/default.conf -COPY nginx/nginx.conf /etc/nginx/conf.d -EXPOSE 80 -CMD ["nginx", "-g", "daemon off;"] diff --git a/docker-compose.production.yml b/docker-compose.production.yml deleted file mode 100644 index d3893cbe..00000000 --- a/docker-compose.production.yml +++ /dev/null @@ -1,8 +0,0 @@ -version: '3' - -services: - dimes-web: - build: . - ports: - - 80:80 - stdin_open: true