mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-10 18:05:48 +02:00
slim demo base image
This commit is contained in:
parent
14774832c3
commit
2ff6bb0c69
3 changed files with 3 additions and 5 deletions
|
@ -1,8 +1,6 @@
|
|||
# CGO_ENABLED=1 GOOS=linux CC=x86_64-unknown-linux-gnu-gcc CXX=x86_64-unknown-linux-gnu-g++ GOARCH=amd64 go build -ldflags "-X 'github.com/0xJacky/Nginx-UI/server/settings.buildTime=$(date +%s)'" -o nginx-ui-server -v main.go
|
||||
FROM --platform=linux/amd64 debian:buster
|
||||
FROM --platform=linux/amd64 uozi/nginx-ui-demo-debian-base-slim:latest
|
||||
WORKDIR /app
|
||||
COPY ./resources/demo/sources.list /etc/apt/sources.list
|
||||
RUN cd /app && apt-get update -y && apt install nginx curl -y
|
||||
EXPOSE 80
|
||||
COPY ./resources/demo/nginx.conf /etc/nginx/sites-available/default
|
||||
COPY ./resources/demo/app.ini /app/app.ini
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue