Skip to content

Commit b50e009

Browse files
committed
fix: path of the db inside of the vps
1 parent 9070a0a commit b50e009

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
context: .
3434
dockerfile: Dockerfile
3535
push: true
36-
platforms: linux/amd64
36+
platforms: linux/amd64,linux/arm64
3737
tags: ghcr.io/${{ github.repository }}/${{ secrets.DOCKER_CONTAINER_NAME }}:v1.0.0
3838
cache-from: type=gha
3939
cache-to: type=gha,mode=max

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ WORKDIR /root/
2121

2222
COPY --from=builder /app/cmd/main .
2323

24-
RUN mkdir -p db
24+
RUN mkdir -p db && chmod 777 db
2525

2626
EXPOSE 8080
2727

0 commit comments

Comments
 (0)