mirror of
https://0xacab.org/jvoisin/mat2-web.git
synced 2025-02-23 08:39:57 -05:00
fixed docker dev env
This commit is contained in:
parent
312f4d6e83
commit
9b8a65e10c
7
.dockerignore
Normal file
7
.dockerignore
Normal file
@ -0,0 +1,7 @@
|
||||
uploads
|
||||
node_modules
|
||||
static/dist
|
||||
static/.webassets-cache
|
||||
*.js
|
||||
*.json
|
||||
*.md
|
@ -34,6 +34,10 @@ bandit:
|
||||
|
||||
tests:debian:
|
||||
stage: test
|
||||
before_script:
|
||||
- apt update
|
||||
- apt install nodejs npm
|
||||
- npm install --global postcss
|
||||
script:
|
||||
- apt-get -qqy update
|
||||
- apt-get -qqy install --no-install-recommends mat2 python3-flask python3-coverage python3-pip python3-setuptools
|
||||
|
@ -9,7 +9,10 @@ RUN apt-get update \
|
||||
gir1.2-gdkpixbuf-2.0 \
|
||||
libimage-exiftool-perl \
|
||||
libgirepository1.0-dev \
|
||||
nodejs npm \
|
||||
&& pip install -r requirements.txt \
|
||||
&& npm i \
|
||||
&& npm install --global postcss postcss-cli \
|
||||
&& rm -rf /var/cache/apt/* /var/lib/apt/lists/*
|
||||
CMD flask run --host=0.0.0.0
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user