Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Rybička
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
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TO
Rybička
Commits
039b7753
Commit
039b7753
authored
2 years ago
by
Tomáš Valenta
Browse files
Options
Downloads
Patches
Plain Diff
update dockerfile
parent
9ae13cf9
No related branches found
No related tags found
1 merge request
!1
Test release
Pipeline
#11249
failed
2 years ago
Stage: build
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+3
-3
3 additions, 3 deletions
Dockerfile
with
3 additions
and
3 deletions
Dockerfile
+
3
−
3
View file @
039b7753
...
@@ -8,7 +8,7 @@ RUN apt-get install nodejs && rm -rf /var/lib/apt/lists/*
...
@@ -8,7 +8,7 @@ RUN apt-get install nodejs && rm -rf /var/lib/apt/lists/*
COPY
. .
COPY
. .
RUN
pip
install
-r
requirements/base.txt
-r
requirements/prod.txt
RUN
pip
install
-r
requirements/base.txt
-r
requirements/prod
uction
.txt
RUN
npm
install
RUN
npm
install
RUN
npm run build
RUN
npm run build
...
@@ -16,14 +16,14 @@ RUN npm run build
...
@@ -16,14 +16,14 @@ RUN npm run build
RUN
DATABASE_URL
=
postgres://x/x
\
RUN
DATABASE_URL
=
postgres://x/x
\
SECRET_KEY
=
x
\
SECRET_KEY
=
x
\
ALLOWED_HOSTS
=
x
\
ALLOWED_HOSTS
=
x
\
python manage.py collectstatic
--noinput
--settings
=
rybicka.settings.prod
python manage.py collectstatic
--noinput
--settings
=
rybicka.settings.prod
uction
RUN
bash
-c
"adduser --disabled-login --quiet --gecos app app &&
\
RUN
bash
-c
"adduser --disabled-login --quiet --gecos app app &&
\
chmod -R o+r /app/ &&
\
chmod -R o+r /app/ &&
\
chmod o+x /app/run.sh"
chmod o+x /app/run.sh"
USER
app
USER
app
ENV
DJANGO_SETTINGS_MODULE "rybicka.settings.prod"
ENV
DJANGO_SETTINGS_MODULE "rybicka.settings.prod
uction
"
EXPOSE
8000
EXPOSE
8000
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment