trying to get right paths
This commit is contained in:
@@ -5,6 +5,7 @@ WORKDIR /app/cmd
|
||||
RUN CGO_ENABLED=0 GOOS=linux go build -o main
|
||||
|
||||
FROM alpine:latest AS production
|
||||
WORKDIR /
|
||||
COPY --from=builder /app/cmd .
|
||||
CMD ["./main"]
|
||||
|
||||
|
||||
+1
-1
@@ -7,6 +7,6 @@ services:
|
||||
ports:
|
||||
- 3000:3000
|
||||
volumes:
|
||||
- /etc/data/flowy-landing/users.db:./users.db
|
||||
- /users.db:/etc/data/flowy-landing/users.db
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user