Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
third-party
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
261
Issues
261
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Paul
third-party
Commits
400063c7
Unverified
Commit
400063c7
authored
Jun 01, 2021
by
Ivanis Kouamé
Committed by
Paul B
Jun 01, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update docker for windows
parent
6dec59be
Pipeline
#1006
passed with stage
in 21 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
7 deletions
+10
-7
.gitattributes
.gitattributes
+3
-0
.gitignore
.gitignore
+1
-0
Dockerfile
dockerfiles/Dockerfile
+6
-7
No files found.
.gitattributes
0 → 100644
View file @
400063c7
# Scripts
*.sh text eol=lf
\ No newline at end of file
.gitignore
View file @
400063c7
...
...
@@ -15,3 +15,4 @@ db.sqlite3
.gitlab-ci.yml
shop/shop_admin_settings.json
shop/errors.log
.idea
dockerfiles/Dockerfile
View file @
400063c7
FROM
python:3-slim
FROM
python:3
ENV
PYTHONUNBUFFERED=1
# Add french locale
RUN
apt update
&&
\
...
...
@@ -7,19 +9,16 @@ RUN apt update && \
sed
-i
'/^#.* fr_FR.UTF-8 /s/^#//'
/etc/locale.gen
&&
\
locale-gen
# Virtual env:
ENV
VIRTUAL_ENV=/opt/venv
RUN
python3
-m
venv
$VIRTUAL_ENV
ENV
PATH="$VIRTUAL_ENV/bin:$PATH"
WORKDIR
/home/app
# Install dependencies:
RUN
pip install
--upgrade
pip
COPY
requirements.txt /home/app/
RUN
pip install
-r
requirements.txt
# Setup volume to be able to dev application locally
VOLUME
/home/app
COPY
. /home/app
# Run the application:
EXPOSE
8080
...
...
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