Skip to content

Commit

Permalink
chore: repo setup
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePrimeJnr committed May 7, 2024
1 parent d6c55b5 commit eab597f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,5 @@ COPY ./tests-start.sh /gitearn/

COPY ./app /gitearn/app

# Expose port 80
EXPOSE 80

CMD ["python3" "-m" "uvicorn" "app.main:app" "--port" "80"]
CMD ["uvicorn", "app.main:app", "host", "0.0.0.0", "--port", "80"]

2 changes: 1 addition & 1 deletion frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Stage 0, "build-stage", based on Node.js, to build and compile the frontend
FROM node:20-slim as build-stage
FROM node:20 as build-stage

WORKDIR /gitearn

Expand Down

0 comments on commit eab597f

Please sign in to comment.