forked from shibao/cannery
add gettext step to docker file
This commit is contained in:
parent
4ef09f5279
commit
8ff1fd0276
@ -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 /app/priv/ /app/priv
|
|||||||
|
|
||||||
ENV HOME=/app
|
ENV HOME=/app
|
||||||
|
|
||||||
CMD ["bin/lokal", "start"]
|
CMD ["bin/lokal", "start"]
|
||||||
|
Loading…
Reference in New Issue
Block a user