Merge pull request #9 from gractwo/dzioba-dev

last hotfix
This commit is contained in:
Stanisław Dzioba
2022-06-20 23:03:25 +02:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -18,4 +18,4 @@ jobs:
run: |
docker stop ${{ github.event.repository.name }} || true
docker rm ${{ github.event.repository.name }} || true
docker run -d ${{ github.repository }} -p 3000:3000
docker run -p 3000:3000 -d ${{ github.repository }}

View File

@@ -1,6 +1,6 @@
FROM node:16.10.0
WORKDIR /app
COPY ./ ./
CMD ["npm","install"]
RUN npm install
CMD ["npx","next","build"]
CMD ["npx","next","start"]