Skip to content

Commit

Permalink
dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
s1lvax committed Oct 11, 2024
1 parent 6115e6a commit 13431e7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ jobs:
docker build -t route .
docker stop route || true
docker rm route || true
docker run -d --name route --restart always -p 3002:3000 route
docker run -d --name route --restart always --env-file .env -p 3002:3000 route
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ COPY --from=builder /app/build build/
COPY --from=builder /app/node_modules node_modules/
COPY package.json .

RUN npx prisma generate

# Set the environment and expose the port
EXPOSE 3000
Expand Down

0 comments on commit 13431e7

Please sign in to comment.