Skip to content

Commit

Permalink
Add default dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ir4y committed Aug 16, 2024
1 parent c46956f commit dae0d84
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- name: Setup Docker builder
uses: docker/setup-buildx-action@v3
- run: docker run --rm --privileged tonistiigi/binfmt --install all
- name: Login to Docker Hub
- name: Login to Docker registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
Expand Down
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM node:lts

RUN yarn global add serve
RUN mkdir /app
COPY /build /app
WORKDIR /app

EXPOSE 5000
ENV PORT="5000"
CMD serve -s -n -l tcp://0.0.0.0:5000

0 comments on commit dae0d84

Please sign in to comment.