Adds dockerfile

This commit is contained in:
benbot 2023-10-27 02:03:19 -04:00
parent 09334274df
commit 11b7b6367c

View file

@ -60,8 +60,8 @@ USER app
WORKDIR /home/app
# Copy over the build artifact from the previous step and create a symlink
COPY --from=build --chown=app:app /app/_build/prod/rel/my_app ./
RUN ln -s /home/app/my_app/bin/my_app /home/app/bin
COPY --from=build --chown=app:app /app/_build/prod/rel/ezcontainer_railway ./
RUN ln -s /home/app/ezcontainer_railway/bin/my_app /home/app/bin
# Specify the entry point
ENTRYPOINT ["bin/my_app", "start"]