Skip to content

Commit

Permalink
#43 Dockerfileの更新&workflowsファイルの修正.
Browse files Browse the repository at this point in the history
  • Loading branch information
yoneyan committed Sep 15, 2024
1 parent 3ec7eec commit 29a723a
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 12 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/build-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,19 @@ on:
paths:
- '.github/**'
- 'files/**'
- 'custom_admin/**'
- 'custom_auth/**'
- 'dsbd/**'
- 'ip/**'
- 'noc/**'
- 'notice/**'
- 'router/**'
- 'service/**'
- 'ticket/**'
- 'manage.py'
- 'Dockerfile'
- 'requirements.txt'
- 'Pipfile'
- 'Pipfile.lock'

jobs:
push_to_registry:
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.11.4 AS app
FROM python:3.12 AS app

RUN pip install --upgrade pip && pip install pipenv
RUN apt-get update && \
Expand All @@ -17,7 +17,7 @@ RUN pip install gunicorn daphne
ENV PYTHONPATH=/opt/app/
ADD Pipfile /opt/app/Pipfile
ADD Pipfile.lock /opt/app/Pipfile.lock
RUN pipenv install --system
RUN pipenv sync --system

ADD manage.py /opt/app/
ADD dsbd/ /opt/app/dsbd/
Expand Down
16 changes: 8 additions & 8 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,25 @@ autobahn = "==24.*"
automat = "==24.*"
certifi = "==2024.*"
cffi = "==1.*"
channels = "==4.1.0"
channels = "==4.*"
charset-normalizer = "==3.*"
constantly = "==23.10.4"
constantly = "==23.*"
cryptography = "==43.*"
daphne = "==4.1.2"
django = "==5.1.*"
daphne = "==4.*"
django = "==5.*"
django-auth-ldap = "==4.*"
django-countries = "==7.*"
django-debug-toolbar = "==4.*"
django-qrcode = "==0.3"
django-widget-tweaks = "==1.5.0"
hyperlink = "==21.0.0"
django-qrcode = "==0.*"
django-widget-tweaks = "==1.*"
hyperlink = "==21.*"
idna = "==3.*"
incremental = "==24.*"
markdown = "==3.*"
mysqlclient = "==2.*"
pyasn1 = "==0.6.*"
pyasn1-modules = "==0.4.*"
pycparser = "==2.22"
pycparser = "==2.*"
pyopenssl = "==24.*"
pyotp = "==2.9.0"
pypng = "==0.20220715.0"
Expand Down
2 changes: 1 addition & 1 deletion Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 29a723a

Please sign in to comment.