Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mpv_sync
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
Service Desk
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Stefan Kraus
mpv_sync
Commits
4273179f
Commit
4273179f
authored
4 years ago
by
Stefan Kraus
Browse files
Options
Downloads
Patches
Plain Diff
Fix Dockerfile permission issues
parent
166a1078
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
frontend/Dockerfile
+2
-6
2 additions, 6 deletions
frontend/Dockerfile
server/Dockerfile
+4
-3
4 additions, 3 deletions
server/Dockerfile
with
6 additions
and
9 deletions
frontend/Dockerfile
+
2
−
6
View file @
4273179f
...
...
@@ -7,14 +7,10 @@ USER $USER
WORKDIR
/home/$USER/
COPY
package*.json ./
COPY
--chown=$USER
package*.json ./
RUN
npm
install
COPY
--chown=$USER . .
RUN
ls
-lah
ENV
PORT 8430
EXPOSE
8430
COPY
--chown=$USER . ./
ENV
PORT 8430
EXPOSE
8430
...
...
This diff is collapsed.
Click to expand it.
server/Dockerfile
+
4
−
3
View file @
4273179f
FROM
python:3.9.1-alpine3.12
ARG
USER=default
RUN
adduser
-D
$USER
USER
$USER
WORKDIR
/home/$USER
ADD
. /
COPY
--chown=$USER:$USER . ./
RUN
pip3
install
--user
-r
./requirements.txt
EXPOSE
8432
CMD
["./server.py"]
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