diff options
author | Yulqen <246857+yulqen@users.noreply.github.com> | 2024-06-03 15:58:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-03 15:58:07 +0100 |
commit | 2682264ad275228c96ff0aca5f67d50bf14dd9d1 (patch) | |
tree | a65656cfc205806c0807b18227d5f0df92b86b7e | |
parent | 6ddfa537c84e65c7f713ff2ffb889fdfd17a50af (diff) | |
parent | 8689e047a008a10b6b1018a26da2fe2ee2bd05d4 (diff) |
Merge pull request #61 from defencedigital/postgres-migration
Postgres migration
-rw-r--r-- | Dockerfile | 8 | ||||
-rw-r--r-- | alias | 1 |
2 files changed, 4 insertions, 5 deletions
@@ -4,7 +4,9 @@ FROM registry.access.redhat.com/ubi8/python-38 USER 0 # Install system dependencies -RUN microdnf install -y postgresql-devel gcc +RUN yum install -y postgresql-devel gcc && \ + yum clean all && \ + rm -rf /var/cache/yum WORKDIR /app @@ -21,7 +23,3 @@ RUN mkdir -p /app/static/css /app/static/js /app/static/img # Switch to non-root user USER 1001 - -# Start app -CMD ["gunicorn", "ded.wsgi:application", "--bind", "0.0.0:8000"] - @@ -0,0 +1 @@ +alias gitty='git pull && git checkout main && git pull && git merge postgres-migration && git checkout postgres-migration && git rebase main && git push' |