set default port to 5000 for production
This commit is contained in:
+4
-4
@@ -64,9 +64,9 @@ RUN apt-get update -y && \
|
||||
|
||||
# Set the locale
|
||||
RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && locale-gen
|
||||
ENV LANG en_US.UTF-8
|
||||
ENV LANGUAGE en_US:en
|
||||
ENV LC_ALL en_US.UTF-8
|
||||
ENV LANG=en_US.UTF-8
|
||||
ENV LANGUAGE=en_US:en
|
||||
ENV LC_ALL=en_US.UTF-8
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
@@ -79,7 +79,7 @@ COPY --from=builder --chown=nobody:root /build/app/_build/${MIX_ENV}/rel/firehos
|
||||
USER nobody
|
||||
|
||||
# Dokku uses the EXPOSE port for routing
|
||||
EXPOSE 4000
|
||||
EXPOSE 5000
|
||||
|
||||
ENV PHX_SERVER=true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user