ops: update docker files
This commit is contained in:
parent
04fc379479
commit
7e512671a8
@ -2,7 +2,7 @@ FROM golang:1.23
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# COPY go.mod go.sum ./
|
||||
COPY go.mod go.sum ./
|
||||
COPY go.mod ./
|
||||
|
||||
RUN go mod download
|
||||
|
@ -1,13 +1,10 @@
|
||||
services:
|
||||
paste:
|
||||
environment:
|
||||
URL: "localhost:58080"
|
||||
AUTH_USERNAME: "admin"
|
||||
AUTH_PASSWORD: "admin"
|
||||
build: .
|
||||
ports:
|
||||
- "58080:8080"
|
||||
- "58080:8999"
|
||||
volumes:
|
||||
- ./files:/app/files
|
||||
- ./.key:/app/.key
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- .env
|
||||
|
Loading…
Reference in New Issue
Block a user