Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nikos Pappas
National Registry
Commits
eb940c25
Commit
eb940c25
authored
Jan 13, 2022
by
Nikos Pappas
Browse files
5th
parent
1be4421e
Changes
1
Show whitespace changes
Inline
Side-by-side
Dockerfile
View file @
eb940c25
FROM
python:3.9
.6
-alpine
FROM
python:3.9-alpine
RUN
useradd
-m
registry
&&
echo
"registry:registry"
| chpasswd
&&
adduser registry
sudo
# set environment variables
ENV
PYTHONDONTWRITEBYTECODE 1
ENV
PYTHONUNBUFFERED 1
ENV
PYTHONDONTWRITEBYTECODE 1
RUN
chown
-R
registry:registry /app/
RUN
apk update
&&
\
apk add git curl wget zip
# copy app and set work directory
COPY
. .
WORKDIR
.
RUN
mkdir
/app
WORKDIR
/app
COPY
. /app/
RUN
pip
install
--upgrade
pip
RUN
pip
install
-e
.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment