add Dockerfile
This commit is contained in:
16
fsd.vxserver.dev/Dockerfile
Normal file
16
fsd.vxserver.dev/Dockerfile
Normal file
@@ -0,0 +1,16 @@
|
||||
FROM alpine:3.19
|
||||
|
||||
RUN apk add --no-cache bash curl tar gzip build-base
|
||||
|
||||
# Install fes CLI
|
||||
RUN curl -fsSL https://github.com/vxserver/fes/releases/latest/download/fes-linux-amd64 -o /usr/local/bin/fes \
|
||||
&& chmod +x /usr/local/bin/fes
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Copy site (including archives)
|
||||
COPY . /app
|
||||
|
||||
EXPOSE 2100
|
||||
|
||||
CMD ["sh", "-c", "fes run -p 2100 ."]
|
||||
Reference in New Issue
Block a user