docker updates

This commit is contained in:
Gavin McDonald
2025-05-14 12:05:57 -04:00
parent b81dd6557c
commit 5093b929ea
2 changed files with 6 additions and 0 deletions

View File

@@ -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

View File

@@ -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",