Skip to content

Commit

Permalink
fix Dockerfile ENV
Browse files Browse the repository at this point in the history
  • Loading branch information
VitoVan committed Apr 23, 2023
1 parent 73aa3d2 commit 635b539
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Expand Up @@ -2,6 +2,4 @@ FROM fedora
COPY . /magic
WORKDIR /magic
RUN bash build.sh
RUN . env.sh
ENTRYPOINT ["emcc"]
CMD ["--help"]
ENTRYPOINT ["/magic/entrypoint.sh"]
3 changes: 3 additions & 0 deletions entrypoint.sh
@@ -0,0 +1,3 @@
#!/bin/sh
. env.sh
exec "$@"

0 comments on commit 635b539

Please sign in to comment.