Skip to content

Commit

Permalink
cicd
Browse files Browse the repository at this point in the history
  • Loading branch information
illinoisrobert committed Dec 4, 2024
1 parent d15b581 commit 33d8dac
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Usage:
#
# docker build -t pcesapps-dev:latest -t pcesapps:latest .
# docker run -it --rm -v /tmp/extern:/extern ghcr.io/iti/pcesapps-dev
# docker run -it --rm -v /tmp/extern:/extern ghcr.io/iti/pcesapps
# docker run -it --rm -v ~/pcesapps/extern:/tmp/extern ghcr.io/iti/pcesapps-dev
# docker run -it --rm -v ~/pcesapps/extern:/tmp/extern ghcr.io/iti/pcesapps
#
FROM golang:1.23-bookworm

Expand All @@ -17,5 +17,5 @@ WORKDIR /pcesapps
COPY . .
RUN cd embedded/sim-dir && go mod tidy && go build -o /bin/sim sim.go exp.go

# remember to use "-v /tmp/extern:/extern"
WORKDIR /extern
# remember to use "-v" to map in /tmp/extern
WORKDIR /tmp/extern

0 comments on commit 33d8dac

Please sign in to comment.