Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Onichaa authored Aug 29, 2024
1 parent 4e0e3b6 commit a6ef0fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ COPY . .

# Run the command to start the application
# CMD ["pm2 start 'go run .' --watch '.go' --watch '/.go' --watch '//.go' && pm2 log"]
CMD ["go run main.go"]
CMD ["go mod init && go mod tidy && go run main.go"]

0 comments on commit a6ef0fb

Please sign in to comment.