Поправил Dockerfile

This commit is contained in:
B4D_US3R 2024-12-13 09:00:28 +01:00
parent 179e3d9223
commit 3760787091
2 changed files with 6 additions and 2 deletions

View file

@ -2,6 +2,10 @@ FROM golang:1.22-alpine
WORKDIR /app WORKDIR /app
COPY ./main.html /app/main.html
COPY ./static /app/static
VOLUME /app/images VOLUME /app/images
EXPOSE 3666 EXPOSE 3666

View file

@ -4,6 +4,6 @@ services:
picran: picran:
build: . build: .
ports: ports:
- "3666:3666" - "127.0.0.1:3667:3666"
volumes: volumes:
- "./images:/app/images" - "./images:/app/images"