This commit is contained in:
12
Dockerfile
12
Dockerfile
@ -1,9 +1,11 @@
|
||||
FROM ruby:2.7.1
|
||||
FROM ruby:2.7.8
|
||||
|
||||
RUN apt-get update -qq &&\
|
||||
curl -sL https://deb.nodesource.com/setup_10.x | bash - &&\
|
||||
apt-get install -y build-essential libpq-dev nodejs &&\
|
||||
useradd --user-group --create-home --shell /bin/false app
|
||||
# Point to Debian archive repos instead of the dead ones
|
||||
|
||||
RUN apt-get update -qq && \
|
||||
curl -sL https://deb.nodesource.com/setup_16.x | bash - && \
|
||||
apt-get install -y build-essential libpq-dev nodejs && \
|
||||
useradd --user-group --create-home --shell /bin/false app
|
||||
|
||||
ENV HOME=/home/app
|
||||
USER app
|
||||
|
Reference in New Issue
Block a user