6 Commits
Author SHA1 Message Date
marc 8e77d7c64e dont ignore my pipfiles
Docker / build (push) Canceled after 0s
Pylint / build (push) Canceled after 0s
2022-08-20 01:06:17 +02:00
marc 550419381a back to root 2022-08-20 01:04:06 +02:00
marc fc9f4cde3b opt website 2022-08-20 01:03:13 +02:00
marc 3f2b863f5a workdir app 2022-08-20 01:02:05 +02:00
marc 8231096b4d npm 2022-08-20 01:00:39 +02:00
marc 87268abcc3 latest python 2022-08-20 00:57:49 +02:00
2 changed files with 5 additions and 5 deletions
-2
View File
@@ -15,8 +15,6 @@ venv
.buildpacks
*.pem
*.crt
Pipfile
Pipfile.lock
.travis.yml
.gitignore
.dockerignore
+5 -3
View File
@@ -1,6 +1,8 @@
FROM marcpartensky/paru:latest as builder
RUN paru -Syyyu --noconfirm python37 python-pipenv npm make
COPY . /app
RUN paru -Syyyu --noconfirm python-pipenv npm make
USER root
COPY . /opt/website
WORKDIR /opt/website
RUN pipenv update
RUN pipenv run ./manage.py collectstatic --noinput
RUN npm install -g npm@latest
@@ -11,7 +13,7 @@ LABEL maintainer="marc.partensky@gmail.com"
LABEL image="https://hub.docker.com/r/marcpartensky/website"
LABEL source="https://github.com/marcpartensky/website"
LABEL link="https://marcpartensky.com"
RUN paru -Syyyu --noconfirm python37 npm
RUN paru -Syyyu --noconfirm python npm
# ARG timestamp
# ARG commit
# LABEL build.timestamp=timestamp