mirror of
https://git.vectorsigma.ru/public/photoview.git
synced 2026-08-03 20:49:02 +00:00
Fix dockerfile
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
FROM golang:latest
|
||||
|
||||
WORKDIR /go/src/app
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
|
||||
RUN go get -d -v ./...
|
||||
RUN go install -v ./...
|
||||
RUN go build -o photoview .
|
||||
|
||||
CMD ["server"]
|
||||
CMD ["/app/photoview"]
|
||||
Reference in New Issue
Block a user