mirror of
https://github.com/house-of-vanity/OutFleet.git
synced 2026-11-27 14:19:49 +00:00
fix ci
This commit is contained in:
1 parent
7bf998ece5
commit
bc5f774d9f
2 files changed
+6
-5
No files matched your search
@@ -3,7 +3,7 @@ name: Docker hub build
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- 'master'
|
- 'django'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
docker:
|
docker:
|
||||||
@@ -33,4 +33,4 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
push: true
|
push: true
|
||||||
tags: ultradesu/outfleet:latest,ultradesu/outfleet:${{ steps.vars.outputs.sha_short }}
|
tags: ultradesu/outfleet:v2,ultradesu/outfleet:${{ steps.vars.outputs.sha_short }}
|
||||||
+4
-3
@@ -2,9 +2,10 @@ FROM python:3
|
|||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY requirements.txt ./
|
#COPY requirements.txt ./
|
||||||
RUN pip install --no-cache-dir -r requirements.txt
|
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
RUN pip install --no-cache-dir -r requirements.txt
|
||||||
|
RUN python manage.py collectstatic --noinput
|
||||||
|
|
||||||
|
|
||||||
CMD [ "python", "./manage.py", "runserver", "0.0.0.0:8000" ]
|
CMD [ "python", "./manage.py", "runserver", "0.0.0.0:8000" ]
|
||||||
Reference in new issue
Block a user