# Use the jlesage/firefox image as the base FROM jlesage/firefox # Set the environment variable ENV WEB_LISTENING_PORT=7860 RUN mkdir /config && chmod -R 777 /config /etc/shadow # Expose the specified port EXPOSE ${WEB_LISTENING_PORT}