forked from shibao/cannery
add gettext step to docker file
This commit is contained in:
parent
272f6729c6
commit
0d52a943d7
@ -26,7 +26,7 @@ COPY lib lib
|
|||||||
COPY priv priv
|
COPY priv priv
|
||||||
COPY assets assets
|
COPY assets assets
|
||||||
RUN npm run --prefix ./assets deploy
|
RUN npm run --prefix ./assets deploy
|
||||||
RUN mix phx.digest
|
RUN mix do phx.digest, gettext.extract
|
||||||
|
|
||||||
# compile and build release
|
# compile and build release
|
||||||
# uncomment COPY if rel/ exists
|
# uncomment COPY if rel/ exists
|
||||||
@ -50,4 +50,4 @@ COPY --from=build --chown=nobody:nobody /app/priv /app/priv
|
|||||||
|
|
||||||
ENV HOME=/app
|
ENV HOME=/app
|
||||||
|
|
||||||
CMD ["bin/cannery", "start"]
|
CMD ["bin/cannery", "start"]
|
||||||
|
Loading…
Reference in New Issue
Block a user