parent
d31750883d
commit
5325f51269
1 changed files with 2 additions and 2 deletions
|
|
@ -52,7 +52,7 @@ RUN adduser \
|
|||
USER imnyang
|
||||
|
||||
# Copy only the compiled binary from the build stage.
|
||||
COPY --from=build /bin/paste /app/
|
||||
COPY --from=build /bin/server /app/
|
||||
|
||||
# Rocket: listen on all interfaces inside the container.
|
||||
ENV ROCKET_ADDRESS=0.0.0.0
|
||||
|
|
@ -61,4 +61,4 @@ ENV ROCKET_ADDRESS=0.0.0.0
|
|||
EXPOSE 8000
|
||||
|
||||
# Start the application.
|
||||
CMD ["/app/paste"]
|
||||
CMD ["/app/server"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue