Skip to content

Commit

Permalink
Basic Dockerfile lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Firefishy committed Dec 11, 2024
1 parent 7bfd2a3 commit de1b0c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# This file is used if building for Production environments
# It uses a multi-stage build to run jekyll to populate an nginx container

FROM docker.io/library/ruby:3.3 as build
FROM docker.io/library/ruby:3.3 AS build

# Add Gem build requirements
RUN apt-get update && apt-get install -y \
Expand Down Expand Up @@ -34,7 +34,7 @@ RUN bundle exec jekyll build --verbose

#-------------------------------------------------
# https://github.com/nginxinc/docker-nginx-unprivileged
FROM ghcr.io/nginxinc/nginx-unprivileged:stable-alpine as webserver
FROM ghcr.io/nginxinc/nginx-unprivileged:stable-alpine AS webserver

RUN echo "absolute_redirect off;" >/etc/nginx/conf.d/no-absolute_redirect.conf
RUN echo "gzip_static on; gzip_proxied any;" >/etc/nginx/conf.d/gzip_static.conf
Expand Down

0 comments on commit de1b0c3

Please sign in to comment.