Ignore static folder when building container

This commit is contained in:
Lukáš Kucharczyk 2023-01-07 21:58:22 +01:00
parent 2939b4a515
commit 270d9f7296
Signed by: lukas
SSH Key Fingerprint: SHA256:vMuSwvwAvcT6htVAioMP7rzzwMQNi3roESyhv+nAxeg
2 changed files with 3 additions and 1 deletions

1
.dockerignore Normal file
View File

@ -0,0 +1 @@
src/web/static/*

View File

@ -6,10 +6,11 @@ RUN npm install && \
FROM python:3.10.9-alpine FROM python:3.10.9-alpine
ENV VERSION_NUMBER 0.1.1-3-gd029fda ENV VERSION_NUMBER 0.1.1-4-g2939b4a
ENV PROD 1 ENV PROD 1
RUN apk add \ RUN apk add \
bash \
vim \ vim \
curl \ curl \
caddy caddy