first commit
This commit is contained in:
22
docker/Dockerfile.web
Normal file
22
docker/Dockerfile.web
Normal file
@@ -0,0 +1,22 @@
|
||||
FROM jscorptech/django:v0.5
|
||||
|
||||
ARG SCRIPT="entrypoint.sh"
|
||||
ENV SCRIPT=$SCRIPT
|
||||
|
||||
|
||||
WORKDIR /code
|
||||
|
||||
COPY ./ /code
|
||||
|
||||
RUN apk add --no-cache curl || apk add --no-cache openbsd-netcat
|
||||
|
||||
|
||||
RUN --mount=type=cache,target=/root/.cache/pip pip install -r requirements.txt
|
||||
|
||||
COPY ./resources/scripts/$SCRIPT /code/$SCRIPT
|
||||
|
||||
RUN chmod +x /code/resources/scripts/$SCRIPT
|
||||
|
||||
CMD sh /code/resources/scripts/$SCRIPT
|
||||
|
||||
|
||||
Reference in New Issue
Block a user