docker updates
This commit is contained in:
@@ -85,6 +85,10 @@ ENV LANGUAGE=en_US:en
|
|||||||
ENV LC_ALL=en_US.UTF-8
|
ENV LC_ALL=en_US.UTF-8
|
||||||
|
|
||||||
WORKDIR "/app"
|
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
|
RUN chown nobody /app
|
||||||
|
|
||||||
# set runner ENV
|
# set runner ENV
|
||||||
|
|||||||
@@ -10,6 +10,8 @@ defmodule Mix.Tasks.Labelmaker.Release do
|
|||||||
"buildx",
|
"buildx",
|
||||||
"build",
|
"build",
|
||||||
"--network=host",
|
"--network=host",
|
||||||
|
"--platform",
|
||||||
|
"linux/amd64",
|
||||||
"--no-cache",
|
"--no-cache",
|
||||||
"-t",
|
"-t",
|
||||||
"192.168.0.2:5000/labelmaker",
|
"192.168.0.2:5000/labelmaker",
|
||||||
|
|||||||
Reference in New Issue
Block a user