Skip to content

Commit d922caf

Browse files
Remove frontend build from dockerfile
It's usually only used for the Springload docker-based deploy, so it's not useful here
1 parent 51535d1 commit d922caf

File tree

1 file changed

+1
-24
lines changed

1 file changed

+1
-24
lines changed

docker/application/Dockerfile

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,8 @@
11
# syntax=docker/dockerfile:1.4
22

3-
## Frontend TODO once Springload approach added
4-
# # frontend assets
5-
# FROM node:20-alpine as frontend
6-
7-
# RUN apk add --update git
8-
9-
# WORKDIR /app
10-
11-
# # Install packages
12-
# COPY package.json package-lock.json /app/
13-
# RUN --mount=type=cache,target=/root/.npm NPM_CACHE_FOLDER=/root/.npm \
14-
# npm ci
15-
16-
# # Copy config/build files
17-
# COPY webpack.config.js webpack.fix-django-paths.js tsconfig.json /app/
18-
# COPY core/static_src /app/core/static_src
19-
# COPY core/templates_src /app/core/templates_src
20-
21-
# RUN npm run build
22-
23-
# CMD ["npm", "run build"]
24-
25-
263
## -----
274
# Base backend
28-
# On Debian, as their prod is Ubuntu
5+
# On Debian, as prod is Ubuntu
296
FROM --platform=linux/x86_64 python:3.11-slim-bullseye as base
307

318
ENV PROJECT cdh-web

0 commit comments

Comments
 (0)