add gettext step to docker file

This commit is contained in:
shibao 2022-02-13 15:50:59 -05:00
parent 272f6729c6
commit 0d52a943d7
1 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ COPY lib lib
COPY priv priv
COPY assets assets
RUN npm run --prefix ./assets deploy
RUN mix phx.digest
RUN mix do phx.digest, gettext.extract
# compile and build release
# uncomment COPY if rel/ exists
@ -50,4 +50,4 @@ COPY --from=build --chown=nobody:nobody /app/priv /app/priv
ENV HOME=/app
CMD ["bin/cannery", "start"]
CMD ["bin/cannery", "start"]