Skip to content

Commit

Permalink
update_environment
Browse files Browse the repository at this point in the history
  • Loading branch information
haseebzaki-07 committed Aug 8, 2024
1 parent d10d034 commit 3a51d7f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ RUN npm install
COPY . .
RUN npm run backend-build


EXPOSE 8000
CMD ["npm", "run" , "dev"]
5 changes: 3 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ services:
container_name: styleshare-backend
depends_on:
- db
env_file:
- ./backend/.env
environment:
- DATABASE_URL=${DATABASE_URL}

ports:
- '8000:8000'

Expand Down

0 comments on commit 3a51d7f

Please sign in to comment.