mirror of https://github.com/lus/pasty.git
Update Dockerfile
This commit is contained in:
parent
810b570621
commit
e4ae37bb81
|
@ -14,7 +14,7 @@ COPY . .
|
|||
RUN go build \
|
||||
-o pasty \
|
||||
-ldflags "\
|
||||
-X github.com/lus/pasty/internal/static.Version=$PASTY_VERSION" \
|
||||
-X github.com/c2bot/pastys/internal/static.Version=$PASTY_VERSION" \
|
||||
./cmd/pasty/main.go
|
||||
|
||||
# Run the application in an empty alpine environment
|
||||
|
@ -23,4 +23,4 @@ WORKDIR /root
|
|||
COPY --from=build /app/pasty .
|
||||
COPY web ./web/
|
||||
EXPOSE 8080
|
||||
CMD ["./pasty"]
|
||||
CMD ["./pasty"]
|
||||
|
|
Loading…
Reference in New Issue