Skip to content

Commit

Permalink
Dockerized API server
Browse files Browse the repository at this point in the history
  • Loading branch information
malee31 committed Oct 26, 2024
1 parent 137c0e4 commit 5286ffd
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.env
testing.env
.idea/
private/
node_modules/
*.sql
*.sqlite
9 changes: 9 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM node:20-alpine

WORKDIR /app
COPY . .

RUN npm install

EXPOSE 3000
CMD ["npm", "start"]

0 comments on commit 5286ffd

Please sign in to comment.