Update Dockerfile

This commit is contained in:
Christian Krakau-Louis
2025-02-18 15:38:35 +01:00
committed by GitHub
parent 6dfb83eb6a
commit 2d161989a2
+3
View File
@@ -6,6 +6,9 @@ WORKDIR /app
# Copy the source code and directories.
COPY . .
# Ensure that the "ssl" and "webroot" directories exist.
RUN mkdir -p ssl webroot
# If no go.mod file exists, initialize a Go module.
RUN if [ ! -f go.mod ]; then \
go mod init github.com/yourusername/dynamic_mitm_server; \