docker updates
This commit is contained in:
@@ -85,6 +85,10 @@ ENV LANGUAGE=en_US:en
|
||||
ENV LC_ALL=en_US.UTF-8
|
||||
|
||||
WORKDIR "/app"
|
||||
|
||||
RUN mkdir -p /app/_build/prod/lib/labelmaker/priv/static/labels
|
||||
RUN chmod -R 775 /app/_build/prod/lib/labelmaker/priv/static/labels
|
||||
|
||||
RUN chown nobody /app
|
||||
|
||||
# set runner ENV
|
||||
|
||||
@@ -10,6 +10,8 @@ defmodule Mix.Tasks.Labelmaker.Release do
|
||||
"buildx",
|
||||
"build",
|
||||
"--network=host",
|
||||
"--platform",
|
||||
"linux/amd64",
|
||||
"--no-cache",
|
||||
"-t",
|
||||
"192.168.0.2:5000/labelmaker",
|
||||
|
||||
Reference in New Issue
Block a user