First commit
This commit is contained in:
21
Dockerfiles/django/Dockerfile
Normal file
21
Dockerfiles/django/Dockerfile
Normal file
@ -0,0 +1,21 @@
|
||||
FROM debian:stable-slim
|
||||
|
||||
ENV PYTHONUNBUFFERED: 1
|
||||
|
||||
# set work directory
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
# install software
|
||||
RUN apt update
|
||||
RUN apt install -y build-essential cron python3-pip gettext
|
||||
|
||||
# install dependencies
|
||||
RUN pip3 install --upgrade pip
|
||||
COPY ./requirements.txt .
|
||||
RUN pip3 install -r requirements.txt
|
||||
|
||||
# launcher
|
||||
COPY django-launcher.dev.sh /django-launcher.dev.sh
|
||||
COPY django-launcher.pro.sh /django-launcher.pro.sh
|
||||
RUN chmod +x /django-launcher.dev.sh
|
||||
RUN chmod +x /django-launcher.pro.sh
|
19
Dockerfiles/gulp/Dockerfile
Normal file
19
Dockerfiles/gulp/Dockerfile
Normal file
@ -0,0 +1,19 @@
|
||||
FROM debian:unstable-slim
|
||||
|
||||
# set work directory
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
# install software
|
||||
RUN apt update
|
||||
RUN apt -y upgrade
|
||||
# dependencies
|
||||
RUN apt install -y build-essential nodejs npm
|
||||
|
||||
# gulp
|
||||
RUN npm install -g gulp-cli
|
||||
|
||||
# Add package.json
|
||||
COPY package.json package.json
|
||||
|
||||
# dependencies gulp
|
||||
RUN npm i
|
Reference in New Issue
Block a user