Поправил Dockerfile
This commit is contained in:
parent
179e3d9223
commit
3760787091
2 changed files with 6 additions and 2 deletions
|
@ -2,6 +2,10 @@ FROM golang:1.22-alpine
|
|||
|
||||
WORKDIR /app
|
||||
|
||||
COPY ./main.html /app/main.html
|
||||
|
||||
COPY ./static /app/static
|
||||
|
||||
VOLUME /app/images
|
||||
|
||||
EXPOSE 3666
|
||||
|
|
|
@ -4,6 +4,6 @@ services:
|
|||
picran:
|
||||
build: .
|
||||
ports:
|
||||
- "3666:3666"
|
||||
- "127.0.0.1:3667:3666"
|
||||
volumes:
|
||||
- "./images:/app/images"
|
||||
- "./images:/app/images"
|
||||
|
|
Loading…
Reference in a new issue