Skip to content

Commit

Permalink
add dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
agentcobra committed Mar 6, 2024
1 parent 2d46396 commit 4f2c03e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
FROM node:hydrogen-alpine
WORKDIR /app
COPY . .
RUN yarn install
CMD ["node", "dev-server.js"]
EXPOSE 4000
7 changes: 7 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
version: '3'

services:
app:
build: ./
ports:
- 4000:4000

0 comments on commit 4f2c03e

Please sign in to comment.