mirror of
https://codeberg.org/ashley/poke.git
synced 2024-11-23 15:28:08 +01:00
Move files
This commit is contained in:
parent
7f08eff2a2
commit
c46f64c3b1
3 changed files with 6 additions and 7 deletions
|
@ -16,8 +16,7 @@ if [[ -v "HOSTNAME" && -v "EMAIL" ]]; then
|
||||||
echo Starting certbot
|
echo Starting certbot
|
||||||
certbot run --nginx -n \
|
certbot run --nginx -n \
|
||||||
-d $HOSTNAME \
|
-d $HOSTNAME \
|
||||||
-d www.$HOSTNAME\
|
-d www.$HOSTNAME --agree-tos \
|
||||||
--agree-tos \
|
|
||||||
--email $EMAIL \
|
--email $EMAIL \
|
||||||
$TEST
|
$TEST
|
||||||
echo Starting nginx
|
echo Starting nginx
|
|
@ -82,16 +82,16 @@ ENV NODE_ENV production
|
||||||
# Final image
|
# Final image
|
||||||
FROM release-base as release
|
FROM release-base as release
|
||||||
# EXPOSE 3000/tcp
|
# EXPOSE 3000/tcp
|
||||||
ENTRYPOINT [ "node", "server.js" ]
|
CMD [ "node", "server.js" ]
|
||||||
|
|
||||||
# Final image with extras
|
# Final image with extras
|
||||||
FROM release-base AS release-aio
|
FROM release-base AS release-aio
|
||||||
# Grab nginx and certbot
|
# Grab nginx and certbot
|
||||||
COPY --from=proxy-installer /rpms /
|
COPY --from=proxy-installer /rpms /
|
||||||
|
|
||||||
COPY p/entrypoint.sh entrypoint.sh
|
COPY entrypoint.sh entrypoint.sh
|
||||||
RUN chmod +x entrypoint.sh
|
RUN chmod +x entrypoint.sh
|
||||||
COPY p/nginx.conf.example /etc/nginx/conf.d/poketube.conf
|
COPY nginx.conf.example /etc/nginx/conf.d/poketube.conf
|
||||||
|
|
||||||
# EXPOSE 80/tcp
|
# EXPOSE 80/tcp
|
||||||
# EXPOSE 443/tcp
|
# EXPOSE 443/tcp
|
||||||
|
|
Loading…
Reference in a new issue