Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Codeimprovement/npm audit fix #352

Merged
merged 2 commits into from Aug 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions Dockerfile
@@ -1,5 +1,5 @@
# Nodejs 8.0.0 alpine 3.6.0
FROM node:13.14.0-alpine
FROM node:16.16.0-alpine

# Label for tracking
LABEL nl.openstad.container="frontend" nl.openstad.version="0.0.1-beta" nl.openstad.release-date="2020-05-07"
Expand Down Expand Up @@ -35,7 +35,7 @@ ENV S3_BUCKET=""


# Install all base dependencies.
RUN apk add --no-cache --update openssl g++ make python musl-dev git bash
RUN apk add --no-cache --update openssl g++ make python3 musl-dev git bash


# Set the working directory to the root of the container
Expand All @@ -54,7 +54,7 @@ RUN npm install --loglevel warn --production
RUN npm install -g nodemon

# Remove unused packages only used for building.
RUN apk del openssl g++ make python && rm -rf /var/cache/apk/*
RUN apk del openssl g++ make python3 && rm -rf /var/cache/apk/*

RUN mkdir -p /home/app/public
RUN mkdir -p /home/app/public
Expand Down