Skip to content

How do you set the template_dir while in an containor #2791

Discussion options

You must be logged in to vote

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 your Dockerfile:

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 on Dockerfiles should likely be posted at a more appropriate venue.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Dog2657
Comment options

@SergioBenitez
Comment options

Answer selected by Dog2657
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants