1 Commits
Author SHA1 Message Date
marc 52676e0627 npm
Docker / build (push) Canceled after 0s
Pylint / build (push) Canceled after 0s
2022-08-20 01:00:58 +02:00
2 changed files with 5 additions and 5 deletions
+2
View File
@@ -15,6 +15,8 @@ venv
.buildpacks
*.pem
*.crt
Pipfile
Pipfile.lock
.travis.yml
.gitignore
.dockerignore
+3 -5
View File
@@ -1,8 +1,6 @@
FROM marcpartensky/paru:latest as builder
RUN paru -Syyyu --noconfirm python-pipenv npm make
USER root
COPY . /opt/website
WORKDIR /opt/website
RUN paru -Syyyu --noconfirm python37 python-pipenv npm make
COPY . /app
RUN pipenv update
RUN pipenv run ./manage.py collectstatic --noinput
RUN npm install -g npm@latest
@@ -13,7 +11,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 python npm
RUN paru -Syyyu --noconfirm python37 npm
# ARG timestamp
# ARG commit
# LABEL build.timestamp=timestamp