Skip to content

Commit

Permalink
mod: fix customer type matching
Browse files Browse the repository at this point in the history
  • Loading branch information
bennjii committed Dec 23, 2023
1 parent 86bd8b9 commit d8d0e66
Show file tree
Hide file tree
Showing 17 changed files with 75 additions and 4,108 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ COPY ./Rocket.toml ./
ARG RELEASE_TYPE

# build for release or dev depending on what is desired
RUN if [ ${RELEASE_TYPE} = "dev" ]; then cargo build --locked --jobs 1 ; else ROCKET_ENV=prod cargo build --release --locked --jobs 8 ; fi
RUN if [ ${RELEASE_TYPE} = "dev" ]; then ROCKET_ENV=dev cargo build --locked --jobs 1 ; else ROCKET_ENV=prod cargo build --release --locked --jobs 8 ; fi

# move that file up the tree
RUN if [ ${RELEASE_TYPE} = "dev" ]; then cp /open-stock/target/debug/open-stock . ; else cp /open-stock/target/release/open-stock . ; fi
Expand Down
13 changes: 0 additions & 13 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,19 +134,6 @@ services:
- ROCKET_PORT=8000
- RELEASE_TYPE=dev

# open-pos:
# # Note: If you are running ARM, you are in luck! We support the linux/arm64 platform.
# # Please use the :latest-arm build variant for arm builds.
# image: ghcr.io/bennjii/open-pos:latest
# platform: "linux/amd64"
# restart: always
# ports:
# - "3000:3000"
# environment:
# # You must change the following to whichever domain open-stock is hosted.
# # An invalid host will result in failed reqs.
# - NEXT_PUBLIC_API_URL=https://open-retail.bennjii.dev/api

volumes:
datavolume:
postgres-data:
Expand Down
Loading

0 comments on commit d8d0e66

Please sign in to comment.