Skip to content

Commit

Permalink
Merge pull request #2 from sarthakpranesh/fixingDockerfile
Browse files Browse the repository at this point in the history
chore: copying env file and exposing 8001 port
  • Loading branch information
SebastianStehle authored Mar 12, 2024
2 parents 63edb78 + 6812347 commit 8c02857
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ COPY . .

RUN npm i
RUN npm run build
RUN cp ./.env ./dist/

EXPOSE 8001

# Start the server using the production build
CMD [ "node", "dist/index.js" ]

0 comments on commit 8c02857

Please sign in to comment.