Skip to content

Instantly share code, notes, and snippets.

name: Deploy to GCP
on:
push:
branches:
- main
env:
GCP_PROJECT_ID: some-project-id
GCP_REGION: europe-west1 # this has a different region as it's the closest where you can do domain mappings
@mikefrancis
mikefrancis / Dockerfile
Created November 3, 2024 18:18
Laravel FrankenPHP Render
FROM node:lts-slim AS frontend-builder
WORKDIR /app
ADD package.json /tmp/package.json
RUN cd /tmp && npm install
RUN cp -a /tmp/node_modules /app/
COPY . .