Skip to content

Commit

Permalink
SUCCESS - Merge pull request #54 from 5-Bits-in-a-Byte/docker-build
Browse files Browse the repository at this point in the history
Docker Project setup merge with main
  • Loading branch information
Sephta authored May 24, 2021
2 parents ef07862 + 9959c5e commit fe23cbd
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,6 @@ server/test-output.xml

#vscode
**.vscode

docker-env
run-dev-client.sh
run-dev-server.sh
2 changes: 1 addition & 1 deletion client/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ RUN npm install react-scripts@3.4.1 -g --silent
COPY . ./

# start app
CMD ["npm", "start"]
CMD ["npm", "run", "start"]
4 changes: 1 addition & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ services:
flask:
build: ./server
env_file:
- ./server/docker-env
- ./server/docker-env
ports:
- "5000:5000"
react:
Expand All @@ -12,5 +12,3 @@ services:
#- ./client/react-env
ports:
- "3000:3000"


6 changes: 3 additions & 3 deletions server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ FROM python:3.8
COPY . /app
WORKDIR /app

RUN pip install -r requirements.txt
RUN pip install -r requirements.txt
RUN pip install -e .
EXPOSE 5000
ENTRYPOINT [ "python" ]
CMD [ "app.py" ]

CMD [ "inquire/__init__.py" ]

0 comments on commit fe23cbd

Please sign in to comment.