Skip to content

Commit

Permalink
fix #14. Enable building on Apple silicon
Browse files Browse the repository at this point in the history
  • Loading branch information
tjanczuk committed Jan 20, 2024
1 parent b0fb5f4 commit 0810e03
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/api/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18-alpine AS base
FROM --platform=linux/amd64 node:18-alpine AS base

# The web Dockerfile is copy-pasted into our main docs at /docs/handbook/deploying-with-docker.
# Make sure you update this Dockerfile, the Dockerfile in the web workspace and copy that over to Dockerfile in the docs.
Expand Down
2 changes: 1 addition & 1 deletion apps/web/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18-alpine AS base
FROM --platform=linux/amd64 node:18-alpine AS base

# This Dockerfile is copy-pasted into our main docs at /docs/handbook/deploying-with-docker.
# Make sure you update both files!
Expand Down
2 changes: 1 addition & 1 deletion apps/worker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM public.ecr.aws/lambda/nodejs:18 AS base
FROM --platform=linux/amd64 public.ecr.aws/lambda/nodejs:18 AS base

FROM base AS builder
# Set working directory
Expand Down

0 comments on commit 0810e03

Please sign in to comment.