Skip to content

Commit

Permalink
backend: fix Dockerfile ARG placement
Browse files Browse the repository at this point in the history
  • Loading branch information
allgood committed Jan 20, 2025
1 parent 093cb57 commit bce5002
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# syntax=docker/dockerfile:1.7-labs

ARG TICKETZ_REGISTRY_URL

# Stage 1: Build the application
FROM node:20 AS build

Expand All @@ -14,6 +12,8 @@ RUN --mount=type=cache,target=/root/.npm \
# Stage 2: Create the final image without source files
FROM ghcr.io/ticketz-oss/node

ARG TICKETZ_REGISTRY_URL

WORKDIR /usr/src/app

# Copy only the necessary build artifacts from the build stage
Expand Down

0 comments on commit bce5002

Please sign in to comment.