Skip to content

Commit

Permalink
chores: modify dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ikurotime committed Dec 28, 2023
1 parent 4a394a0 commit 4ac1f90
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# If you need more help, visit the Dockerfile reference guide at
# https://docs.docker.com/go/dockerfile-reference/

ARG RUST_VERSION=1.74.1
ARG RUST_VERSION=1.74.0
ARG APP_NAME=linkshrtnr-rust-api

################################################################################
Expand All @@ -18,6 +18,7 @@ FROM --platform=$BUILDPLATFORM rust:${RUST_VERSION}-alpine AS build
ARG APP_NAME
WORKDIR /app

COPY /templates /app/templates
# Copy cross compilation utilities from the xx stage.
COPY --from=xx / /

Expand Down Expand Up @@ -81,7 +82,7 @@ USER appuser
COPY --from=build /bin/server /bin/

# Expose the port that the application listens on.
EXPOSE 3000
EXPOSE 3000

# What the container should run when it is started.
CMD ["/bin/server"]
2 changes: 1 addition & 1 deletion README.Docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
When you're ready, start your application by running:
`docker compose up --build`.

Your application will be available at http://localhost:3000.
Your application will be available at http://localhost:8778.

### Deploying your application to the cloud

Expand Down

0 comments on commit 4ac1f90

Please sign in to comment.