Adds dockerfile
This commit is contained in:
parent
09334274df
commit
11b7b6367c
1 changed files with 2 additions and 2 deletions
|
|
@ -60,8 +60,8 @@ USER app
|
||||||
WORKDIR /home/app
|
WORKDIR /home/app
|
||||||
|
|
||||||
# Copy over the build artifact from the previous step and create a symlink
|
# 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 ./
|
COPY --from=build --chown=app:app /app/_build/prod/rel/ezcontainer_railway ./
|
||||||
RUN ln -s /home/app/my_app/bin/my_app /home/app/bin
|
RUN ln -s /home/app/ezcontainer_railway/bin/my_app /home/app/bin
|
||||||
|
|
||||||
# Specify the entry point
|
# Specify the entry point
|
||||||
ENTRYPOINT ["bin/my_app", "start"]
|
ENTRYPOINT ["bin/my_app", "start"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue