Update Dockerfile

Signed-off-by: techopsmasters <163403479+techopsmasters@users.noreply.github.com>
pull/486/head
techopsmasters 4 months ago committed by GitHub
parent 5634191ac8
commit b3e1bf1ec2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 11
      django/app/Dockerfile

@ -10,15 +10,10 @@ ENTRYPOINT ["python3"]
CMD ["manage.py", "runserver", "0.0.0.0:8000"]
FROM builder as dev-envs
RUN <<EOF
apk update
apk add git
EOF
RUN <<EOF
addgroup -S docker
RUN apk update &&
apk add git &&
addgroup -S docker &&
adduser -S --shell /bin/bash --ingroup docker vscode
EOF
# install Docker tools (cli, buildx, compose)
COPY --from=gloursdocker/docker / /
CMD ["manage.py", "runserver", "0.0.0.0:8000"]

Loading…
Cancel
Save