Skip to content

Commit 9d150be

Browse files
committed
Check in built bundles
2 parents 00bc253 + 31d9967 commit 9d150be

File tree

73 files changed

+37890
-7379
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+37890
-7379
lines changed

.github/workflows/build-images.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ jobs:
2525

2626
- name: Saving Results
2727
run: |
28-
28+
2929
REPOSITORY_LC=$(echo "$REPOSITORY" | tr '[:upper:]' '[:lower:]')
3030
GitVersion_FullSemVer_Docker=$(echo "$GitVersion_FullSemVer" | tr '+' '.')
31-
31+
3232
echo "GitVersion_FullSemVer_Docker=$GitVersion_FullSemVer_Docker" >> gitversion.properties
3333
echo "GitVersion_FullSemVer=$GitVersion_FullSemVer" >> gitversion.properties
3434
echo "GitVersion_LegacySemVer=$GitVersion_LegacySemVer" >> gitversion.properties
@@ -73,9 +73,9 @@ jobs:
7373
uses: docker/build-push-action@v5
7474
with:
7575
cache-from: |
76-
thespaghettidetective/web:base-1.13
76+
thespaghettidetective/web:base-1.15
7777
thespaghettidetective/web:base
78-
ghcr.io/${{ env.REPOSITORY_LC }}/web:base-1.13
78+
ghcr.io/${{ env.REPOSITORY_LC }}/web:base-1.15
7979
ghcr.io/${{ env.REPOSITORY_LC }}/web:base
8080
context: backend
8181
file: backend/Dockerfile.base
@@ -182,4 +182,4 @@ jobs:
182182
context: ml_api
183183
file: ml_api/Dockerfile
184184
push: true
185-
tags: ghcr.io/${{ env.REPOSITORY_LC }}/ml:${{ env.GitVersion_FullSemVer_Docker }}
185+
tags: ghcr.io/${{ env.REPOSITORY_LC }}/ml:${{ env.GitVersion_FullSemVer_Docker }}

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,3 +133,5 @@ docker-compose.override.yml
133133

134134
# generated webpack bundle stats for development
135135
frontend/webpack-stats.json
136+
137+
.idea/

backend/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
FROM thespaghettidetective/web:base-1.13
1+
FROM thespaghettidetective/web:base-1.15
22

33
WORKDIR /app
44
EXPOSE 3334
55

6-
ADD . /app
76
RUN pip install -U pip
7+
ADD ./ /app
88
RUN pip install -r requirements.txt

backend/Dockerfile.base

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
FROM python:3.7.12-alpine3.14
1+
FROM python:3.10-alpine3.18
22

33
ENV DEBIAN_FRONTEND=noninteractive
44

55
WORKDIR /app
66
EXPOSE 3334
77
RUN apk -U add bash vim ffmpeg postgresql-libs git openjpeg tiff
8-
RUN apk add --virtual .build-deps g++ musl-dev postgresql-dev zlib-dev jpeg-dev libffi-dev openjpeg-dev tiff-dev \
9-
patch curl-dev python3-dev libressl-dev build-base freetype-dev lcms2-dev tk-dev tcl-dev # Needed by /moonraker/scripts/moonraker-requirements.txt
8+
RUN apk add --virtual .build-deps g++ musl-dev postgresql-dev zlib-dev jpeg-dev libffi-dev openjpeg-dev tiff-dev openblas-dev \
9+
patch curl-dev python3-dev build-base freetype-dev lcms2-dev tk-dev tcl-dev # Needed by /moonraker/scripts/moonraker-requirements.txt
1010

1111
# Checkout moonraker and lock the version so that we can use the metadata parser
1212
RUN git clone https://github.com/Arksine/moonraker.git /moonraker
@@ -18,8 +18,4 @@ RUN pip install --upgrade pip
1818
ADD requirements.txt .
1919
RUN CRYPTOGRAPHY_DONT_BUILD_RUST=1 pip install -r requirements.txt
2020

21-
RUN pip install tornado==6.2.0 inotify-simple==1.3.5
22-
# Apparent newer version of importlib-metadata will cause django to fail
23-
RUN pip install importlib-metadata==4.13.0
24-
2521
RUN apk --purge del .build-deps

backend/Pipfile

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
[[source]]
2+
url = "https://pypi.org/simple"
3+
verify_ssl = true
4+
name = "pypi"
5+
6+
[packages]
7+
ipdb = "*"
8+
django = "==4.0.*"
9+
gunicorn = "*"
10+
dj-database-url = "*"
11+
psycopg2-binary = "*"
12+
django-allauth = "*"
13+
django-widget-tweaks = "*"
14+
djangorestframework = "*"
15+
django-extensions = "*"
16+
redis = "*"
17+
django-simple-history = "*"
18+
jsonfield = "*"
19+
newrelic = "*"
20+
django-settings-export = "*"
21+
oauth2client = "*"
22+
authy = "*"
23+
phonenumbers = "*"
24+
twilio = "*"
25+
django-safedelete = "*"
26+
pillow = "*"
27+
django-hijack = "*"
28+
whitenoise = {extras = ["brotli"], version = "*"}
29+
celery = {extras = ["redis"], version = "*"}
30+
asgiref = "*"
31+
"zope.interface" = "*"
32+
channels = {extras = ["daphne"], version = "*" }
33+
channels-redis = "*"
34+
django-jstemplate = "*"
35+
"pushbullet.py" = "*"
36+
pytelegrambotapi = "*"
37+
# Fork of django_channels_presence adds django 4.x compatibility
38+
# See https://github.com/mitmedialab/django-channels-presence/issues/23
39+
django-channels-presence = {ref = "24c15f229372a16c7e8d6e160de89f4817d96c3f", git = "https://github.com/TheSpaghettiDetective/django-channels-presence.git"}
40+
backoff = "*"
41+
django-webpack-loader = "*"
42+
django-qr-code = "*"
43+
discord-webhook = "*"
44+
bson = "*"
45+
firebase-admin = "*"
46+
django-cors-headers = "*"
47+
pyjwt = "*"
48+
django-ipware = "*"
49+
django-redis = "*"
50+
sentry-sdk = "*"
51+
nplusone = "*"
52+
colorlog = "*"
53+
packaging = "*"
54+
numpy = "1.26.0"
55+
django-debug-toolbar = "*"
56+
inotify-simple = "*"
57+
Twisted = {extras = ["tls", "http2"], version = "*" }
58+
59+
[dev-packages]
60+
61+
[requires]
62+
python_version = "3.10"

0 commit comments

Comments
 (0)