How do you set the template_dir while in an containor #2791
-
I am trying to run a rocket instance within a docker containor. I have a build script which clones all the files in The error
This is my rocket.toml
My target file structure
My dockerfile
|
Beta Was this translation helpful? Give feedback.
Answered by
SergioBenitez
May 15, 2024
Replies: 1 comment 2 replies
-
Please see containerization section of the in-progress deployment guide and the guide in general. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As you can see in your error, it's failing to build because you're depending on
openssl
, directly or transitively. As a result, you need to install OpenSSL in the image. You need to add something like the following to yourDockerfile
:RUN set -eux; \ export DEBIAN_FRONTEND=noninteractive; \ apt-get update; \ apt-get install -y --no-install-recommends openssl
Note that this is completely outside the scope of Rocket; Rocket neither directly nor indirectly depends no
openssl
. Further questions onDockerfile
s should likely be posted at a more appropriate venue.