Revert "dockerize front end (#558)" (#588)

This reverts commit 89c23faf7a (dockerize-front-end)
This commit is contained in:
Vim 2021-09-01 13:00:26 -07:00 committed by GitHub
commit f5c4ba6d88
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 30 additions and 113 deletions

View file

@ -1,22 +0,0 @@
FROM node:14
# Set working directory like 'cd' command, any subsequent instructions in this docker file, will start from
# this working directory
WORKDIR /client
# Copy the package.json and package_lock.json files from local to the docker image / container
COPY package*.json ./
# install all packages as a layer in the docker image / container
RUN npm install
# copy all local files from the working directory to the docker image/container however we must use
# dockerignore to ignore node_modules so that the image can use what what was just installed from the above
# step.
COPY . .
ENV PORT=6000
EXPOSE 6000
CMD [ "npm", "start"]