trying to get right paths

This commit is contained in:
talksik
2023-10-01 14:29:20 -07:00
parent 42440feab2
commit 11198392bc
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -5,6 +5,7 @@ WORKDIR /app/cmd
RUN CGO_ENABLED=0 GOOS=linux go build -o main RUN CGO_ENABLED=0 GOOS=linux go build -o main
FROM alpine:latest AS production FROM alpine:latest AS production
WORKDIR /
COPY --from=builder /app/cmd . COPY --from=builder /app/cmd .
CMD ["./main"] CMD ["./main"]
+1 -1
View File
@@ -7,6 +7,6 @@ services:
ports: ports:
- 3000:3000 - 3000:3000
volumes: volumes:
- /etc/data/flowy-landing/users.db:./users.db - /users.db:/etc/data/flowy-landing/users.db