Skip to content

Commit

Permalink
fix dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
PGimenez committed Jan 24, 2024
1 parent a117d9c commit 7e90cf6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ RUN useradd --create-home --shell /bin/bash genie
RUN mkdir /home/genie/app
COPY Project.toml /home/genie/app/
WORKDIR /home/genie/app
COPY . /home/genie/app
RUN chown -R genie:genie /home/
USER genie
COPY . /home/genie/app
RUN julia -e "using Pkg; Pkg.activate(\".\"); Pkg.instantiate(); Pkg.precompile()"
RUN julia -e "using Pkg; Pkg.activate(\".\"); Pkg.instantiate();Pkg.precompile()"
EXPOSE 8000
EXPOSE 80
ENV JULIA_DEPOT_PATH "/home/genie/.julia"
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "GermanCredits"
imgname = "credits"
version = "0.0.2"
version = "0.0.3"

[deps]
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
Expand Down

0 comments on commit 7e90cf6

Please sign in to comment.