Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
oser-backend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hamza Touizrat
oser-backend
Merge requests
!60
add docker compose for backend
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
add docker compose for backend
add_docker
into
master
Overview
0
Commits
2
Pipelines
0
Changes
3
Merged
add docker compose for backend
Hamza Touizrat
requested to merge
add_docker
into
master
Oct 18, 2022
Overview
0
Commits
2
Pipelines
0
Changes
3
0
0
Merge request reports
Viewing commit
eda5561c
Prev
Next
Show latest version
3 files
+
89
−
47
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
eda5561c
first commit
· eda5561c
salazard
authored
Oct 18, 2022
Dockerfile
0 → 100644
+
9
−
0
View file @ eda5561c
Edit in single-file editor
Open in Web IDE
FROM
python:3.8
WORKDIR
/var/www/oser-backend
COPY
. .
VOLUME
[ "/var/www/oser-backend" ]
ENV
DEBIAN_FRONTEND=noninteractive
RUN
apt update
&&
apt
install
-y
build-essential postgresql libpq-dev python3-dev git
RUN
python3
-m
pip
install
-r
requirements.txt
EXPOSE
8000
CMD
python3 manage.py makemigrations && python3 manage.py migrate && python3 manage.py runserver 0.0.0.0:8000
Loading