mirror of
https://github.com/wger-project/wger.git
synced 2026-11-28 17:28:35 +01:00
28 lines
696 B
Docker
28 lines
696 B
Docker
#
|
|
# Docker file for the development environment
|
|
#
|
|
# Please consult https://wger.readthedocs.io/en/latest/development/backend.html
|
|
# on how to use and start it.
|
|
|
|
FROM wger/server:latest
|
|
|
|
USER root
|
|
|
|
WORKDIR /home/wger/src
|
|
RUN apt-get update && \
|
|
apt-get install -y \
|
|
git \
|
|
vim \
|
|
yarnpkg \
|
|
sassc
|
|
|
|
COPY ../../../requirements.txt /tmp/requirements.txt
|
|
COPY ../../../requirements_dev.txt /tmp/requirements_dev.txt
|
|
|
|
RUN ln -s /usr/bin/yarnpkg /usr/bin/yarn \
|
|
&& ln -s /usr/bin/sassc /usr/bin/sass
|
|
|
|
USER wger
|
|
RUN pip3 install --break-system-packages --user -r /tmp/requirements.txt \
|
|
&& pip3 install --break-system-packages --user -r /tmp/requirements_dev.txt
|