Skip to content

Commit

Permalink
fixed folder structure inside docker container
Browse files Browse the repository at this point in the history
  • Loading branch information
FloWi committed Jul 7, 2022
1 parent 1b35687 commit 0b87f49
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ webapp/assets_non_bundled
tools/node_modules
**/.scala-build
docker-dist/webapp/
docker-dist/*.jar
docker-dist/fileserver/
2 changes: 1 addition & 1 deletion build-prod.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
sbt prod

rm docker-dist/*.jar
rm -r docker-dist/fileserver
rm -r docker-dist/webapp

mkdir -p docker-dist/webapp
Expand Down
4 changes: 2 additions & 2 deletions docker-dist/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM eclipse-temurin:8-jre-alpine
#COPY ["package.json", "package-lock.json*", "generate-listing.js", "server.js", "refresh-and-run.sh", "/subtitle-search/"]

COPY ["./", "/subtitle-search/"]
ADD ["./webapp", "/subtitle-search/webapp/"]
ADD ["./fileserver", "/subtitle-search/fileserver"]

ENV WEBAPP_FOLDER=/subtitle-search/webapp
ENV ASSETS_FOLDER=/assets
Expand Down

0 comments on commit 0b87f49

Please sign in to comment.