mirror of
https://github.com/phishingclub/phishingclub.git
synced 2026-07-09 13:58:25 +02:00
Initial open source release
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
FROM golang:1.24.5
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Add user
|
||||
# Add group with ID 1000 and user with ID 1000
|
||||
RUN groupadd -g 1000 appuser && \
|
||||
useradd -r -u 1000 -g appuser appuser -d /home/appuser -m
|
||||
|
||||
COPY go.mod /app/go.mod
|
||||
COPY main.go /app/main.go
|
||||
RUN chown -R appuser:appuser /app
|
||||
|
||||
USER appuser
|
||||
RUN go mod tidy
|
||||
|
||||
CMD ["go", "run", "main.go"]
|
||||
Reference in New Issue
Block a user