Update Dockerfile
This commit is contained in:
committed by
GitHub
parent
6dfb83eb6a
commit
2d161989a2
@@ -6,6 +6,9 @@ WORKDIR /app
|
|||||||
# Copy the source code and directories.
|
# Copy the source code and directories.
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
|
# Ensure that the "ssl" and "webroot" directories exist.
|
||||||
|
RUN mkdir -p ssl webroot
|
||||||
|
|
||||||
# If no go.mod file exists, initialize a Go module.
|
# If no go.mod file exists, initialize a Go module.
|
||||||
RUN if [ ! -f go.mod ]; then \
|
RUN if [ ! -f go.mod ]; then \
|
||||||
go mod init github.com/yourusername/dynamic_mitm_server; \
|
go mod init github.com/yourusername/dynamic_mitm_server; \
|
||||||
|
|||||||
Reference in New Issue
Block a user