2
0
mirror of https://github.com/offen/website.git synced 2024-12-23 13:30:20 +01:00

update docker images in use

This commit is contained in:
Frederik Ring 2021-03-05 19:21:55 +01:00
parent 98a280717a
commit 92afcd712b
3 changed files with 7 additions and 5 deletions

View File

@ -3,7 +3,7 @@ version: 2.1
jobs:
deploy:
docker:
- image: cimg/base:2020.09
- image: cimg/base:2021.03
working_directory: ~/website
steps:
- checkout
@ -23,7 +23,6 @@ jobs:
cat >> $BASH_ENV \<< EOF
export SITEURL="https://staging.offen.dev"
export BUCKET="web-staging"
export DISTRIBUTION="E13I20LK8ASYFH"
export ROBOTS_FILE="robots.txt.staging"
export OFFEN_ACCOUNT_ID="8f7ee44a-4cd8-47f2-a77e-8c7c98d46b89"
EOF

View File

@ -1,6 +1,9 @@
FROM nikolaik/python-nodejs:python3.7-nodejs12
FROM nikolaik/python-nodejs:python3.8-nodejs14
RUN npm install -g postcss-cli@^6.1.3 autoprefixer@^9.7.0 cssnano@^4.1.10
RUN npm install -g \
autoprefixer@^9.7.0 \
cssnano@^4.1.10 \
postcss-cli@^6.1.3
ENV PATH="/root/.local/bin:$PATH"
ENV NODE_PATH="/usr/lib/node_modules"

View File

@ -1,4 +1,4 @@
FROM nikolaik/python-nodejs:python3.7-nodejs12
FROM nikolaik/python-nodejs:python3.8-nodejs14
ENV PATH "/root/.local/bin:$PATH"
ENV NODE_PATH="/usr/lib/node_modules"