mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-12-24 06:56:42 +00:00
16 lines
288 B
Smarty
16 lines
288 B
Smarty
FROM python:${PYTHON_VERSION}
|
|
|
|
RUN pip install -U setuptools pip
|
|
|
|
ADD requirements.txt /server/requirements.txt
|
|
ADD dev-requirements.txt /server/dev-requirements.txt
|
|
|
|
RUN pip install -r/server/dev-requirements.txt
|
|
|
|
RUN useradd -ms /bin/bash gns3
|
|
|
|
USER gns3
|
|
|
|
ADD . /server
|
|
WORKDIR /server
|