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
|
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
@@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user