add gettext step to docker file

This commit is contained in:
shibao 2022-02-13 15:50:48 -05:00 committed by oliviasculley
parent 4ef09f5279
commit 8ff1fd0276

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 /app/priv/ /app/priv
ENV HOME=/app
CMD ["bin/lokal", "start"]
CMD ["bin/lokal", "start"]