bvn13-me/Dockerfile

21 lines
378 B
Docker
Raw Permalink Normal View History

2024-11-10 14:39:06 +03:00
FROM python:3.9
# Install python3
RUN apt-get update
RUN apt-get install -y python3
RUN apt-get install -y git
# Invalidate cache
ARG CACHEBUST=1
# Copy html
2024-11-10 14:49:54 +03:00
RUN git clone https://gitea.bvn13.me/bvn13/bvn13-me.git /app
2024-11-10 14:39:06 +03:00
RUN ls -la /
RUN ls -la /app
RUN ls -la /app/src
WORKDIR /app/src
# Run http server on port 8080
EXPOSE 8080
CMD ["python3", "-m", "http.server", "8080"]