This commit is contained in:
20
Dockerfile
Normal file
20
Dockerfile
Normal file
@@ -0,0 +1,20 @@
|
||||
ARG DOCKER_BASEIMAGE
|
||||
FROM ${DOCKER_BASEIMAGE}
|
||||
|
||||
ENV PYTHONUNBUFFERED 1
|
||||
WORKDIR /opt/app-root/src
|
||||
|
||||
# Install Bash and Caddy
|
||||
RUN apk add --no-cache bash caddy \
|
||||
&& rm -rf /var/cache/apk/*
|
||||
|
||||
# Install CVD-Update
|
||||
RUN pip install --no-cache-dir cvdupdate
|
||||
|
||||
# Copy Scripts
|
||||
COPY src/ $WORKDIR
|
||||
RUN chmod +x ./entrypoint.sh
|
||||
|
||||
# Start Server
|
||||
EXPOSE 8080
|
||||
CMD [ "./entrypoint.sh", "serve" ]
|
||||
Reference in New Issue
Block a user