fix docker keyword AS.

This commit is contained in:
Miroslav Šedivý
2025-01-11 11:09:11 +01:00
parent ef4385d471
commit fd03fb67d2
+2 -2
View File
@@ -1,7 +1,7 @@
# #
# STAGE 1: build static web files # STAGE 1: build static web files
# #
FROM node:20-bookworm-slim as frontend FROM node:20-bookworm-slim AS frontend
WORKDIR /src WORKDIR /src
# #
@@ -17,7 +17,7 @@ RUN npm run build
# #
# STAGE 2: build executable binary # STAGE 2: build executable binary
# #
FROM golang:1.21-bullseye as builder FROM golang:1.21-bullseye AS builder
WORKDIR /app WORKDIR /app
COPY . . COPY . .