Skip to content
Snippets Groups Projects
Commit 8ac9c23e authored by David Horvát's avatar David Horvát
Browse files

moved and pkg build web

parent b096bd7e
No related branches found
No related tags found
No related merge requests found
#FROM rust:latest
#
#COPY ./btc_miner ./btc_miner
#WORKDIR ./btc_miner
FROM archlinux:latest as packager
RUN pacman-key --init
RUN tar czt
RUN repo-add ./files/customrepo.db.tar.gz ./files/*.pkg.tar.zst
FROM nginx:mainline-alpine-slim
RUN apk update && apk upgrade
# copy files
WORKDIR /home/webserver
COPY ./nginx.conf /etc/nginx/
COPY ./files /home/webserver/repo
COPY --from=packager /files/customrepo.db.tar.gz /home/webserver/repo
# expose and run
EXPOSE 8080
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment