From 37607870914b002f889e72d247c38ddea145a131 Mon Sep 17 00:00:00 2001 From: B4D_US3R Date: Fri, 13 Dec 2024 09:00:28 +0100 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=BE=D0=BF=D1=80=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=BB=20Dockerfile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 4 ++++ docker-compose.yml | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index a248c9c..4e39eb7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/docker-compose.yml b/docker-compose.yml index 6a4985d..6236ba4 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,6 +4,6 @@ services: picran: build: . ports: - - "3666:3666" + - "127.0.0.1:3667:3666" volumes: - - "./images:/app/images" \ No newline at end of file + - "./images:/app/images"